| Submitter | Artem Bityutskiy |
|---|---|
| Date | Feb. 6, 2011, 5:39 p.m. |
| Message ID | <1297013953-28886-6-git-send-email-dedekind1@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/82058/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c index 6f90a65..889e25c 100644 --- a/drivers/mtd/ubi/io.c +++ b/drivers/mtd/ubi/io.c @@ -188,7 +188,7 @@ retry: return UBI_IO_BITFLIPS; } - if (read != len && retries++ < UBI_IO_RETRIES) { + if (retries++ < UBI_IO_RETRIES) { dbg_io("error %d%s while reading %d bytes from PEB %d:%d," " read only %zd bytes, retry", err, errstr, len, pnum, offset, read);