You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
9 years ago
..
Makefile bcm53xx: add fixtrx 10 years ago
crc32.c packages: clean up the package folder 11 years ago
crc32.h packages: clean up the package folder 11 years ago
fis.c packages: clean up the package folder 11 years ago
fis.h packages: clean up the package folder 11 years ago
imagetag.c package: mtd: move bcm963xx_tag definition into source code 9 years ago
jffs2.c mtd: add support for bad blocks in NAND flash 10 years ago
jffs2.h packages: clean up the package folder 11 years ago
md5.c packages: clean up the package folder 11 years ago
md5.h packages: clean up the package folder 11 years ago
mtd.c mtd: fix md5sum error checking 9 years ago
mtd.h mtd: add support for bad blocks in NAND flash 10 years ago
seama.c packages: clean up the package folder 11 years ago
seama.h packages: clean up the package folder 11 years ago
trx.c mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403 10 years ago