[PATCH] mtdoops : don't erase flash at each boot

Artem Bityutskiy dedekind1 at gmail.com
Mon Nov 12 10:50:12 EST 2012

On Fri, 2012-10-19 at 17:29 +0200, Matthieu CASTET wrote:
> If there is no oops stored (flash is erased), find_next_position will
> exit with maxcount == 0xffffffff and erase the first page.
> Only erase it if mark_is_used.
> Signed-off-by: Matthieu Castet <matthieu.castet at parrot@com>

The code of mtdoops is really hard to read. Could you please provide a
better commit message with better description about what you do:

1. what problem you fix exactly, and why is it a problem
2. how the code currently works
3. how you change it to make the problem go away


Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20121112/2c914b80/attachment.sig>

More information about the linux-mtd mailing list