nand_geom and nand_cdev fixes

Grzegorz Bernacki gjb at semihalf.com
Mon Nov 18 15:14:37 UTC 2013


Hi,

I've made two fixes in nand_geom.c and nand_cdev.c. First one is related
to allocating internal buffer for reading/programming data. To avoid
allocation of memory which is too big, I allocate buffer which has size
of 16 pages and read/program data in ten-pages chunks.
Second change is to skip copyout() when nand_read_pages_raw() fails.
I've attached patch with these changes. Can I ask for test/review of
these changes?

thanks,
grzesiek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nand.diff
Type: text/x-patch
Size: 4536 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-embedded/attachments/20131118/f2fbd3e0/attachment.bin>


More information about the freebsd-embedded mailing list