[PATCH] [MTD-UTILS] Incorrect loop condition
Artem Bityutskiy
dedekind at infradead.org
Mon Jun 8 02:09:18 EDT 2009
On Fri, 2009-06-05 at 18:45 -0700, Jehan Bing wrote:
> Small patch to fix an obvious typo.
>
> If the file contains only a few bytes in the last page and the --oob option is selected, the loop may exit early (readlen < meminfo.oobsize).
> Most of the time it will still work though because the code tries to read the whole OOB in one chunk.
>
> Signed-off-by: Jehan Bing <jehan at orb.com>
Pushed, thanks.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list