openwrtv4/package/system/mtd/src
John Crispin b48b7a7689 mtd: fix md5sum error checking
In mtd_verify(), the return value of md5sum() has been
interpreted as error if nonzero, while the function
returns number of processed bytes, which caused
mtd_verify() to always fail.

This patch fixes error checking to interpret only
negative values as errors.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>

SVN-Revision: 44605
2015-03-05 20:25:02 +00:00
..
crc32.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
crc32.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
fis.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
fis.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
imagetag.c package: mtd: move bcm963xx_tag definition into source code 2015-02-27 17:38:25 +00:00
jffs2.c mtd: add support for bad blocks in NAND flash 2014-03-26 10:50:09 +00:00
jffs2.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
Makefile bcm53xx: add fixtrx 2014-09-21 21:56:31 +00:00
md5.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
md5.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
mtd.c mtd: fix md5sum error checking 2015-03-05 20:25:02 +00:00
mtd.h mtd: add support for bad blocks in NAND flash 2014-03-26 10:50:09 +00:00
seama.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
seama.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
trx.c mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403 2014-09-02 21:06:35 +00:00