Suggested fix for fill_autooob_layout eternal loop

Braden Simpson braden.simpson at gmail.com
Tue Jan 17 23:20:27 EST 2006


Hi all,

I have attached what is hopefully a patch for the problem I had with
the fill_autooob_layout
function in nand_base.c where it would loop forever.  I have
'refactored' the code to handle
the out of order .oobfree list in the latest version of diskonchip.c
and it should be a little
more resilient to unusual arrangements inside nand_oobinfo structures.

I'm new to this creating patches thing so if I've missed something
then let me know.

Regards,

Braden Simpson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fill_autooob_layout.patch
Type: application/octet-stream
Size: 3561 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20060118/862dcab1/attachment.obj 


More information about the linux-mtd mailing list