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 |
||
|---|---|---|
| .. | ||
| crc32.c | ||
| crc32.h | ||
| fis.c | ||
| fis.h | ||
| imagetag.c | ||
| jffs2.c | ||
| jffs2.h | ||
| Makefile | ||
| md5.c | ||
| md5.h | ||
| mtd.c | ||
| mtd.h | ||
| seama.c | ||
| seama.h | ||
| trx.c | ||