svn commit: r258387 - head/sys/dev/nand
John-Mark Gurney
jmg at funkthat.com
Wed Nov 20 21:31:21 UTC 2013
Grzegorz Bernacki wrote this message on Wed, Nov 20, 2013 at 11:10 +0000:
> Author: gber
> Date: Wed Nov 20 11:10:23 2013
> New Revision: 258387
> URL: http://svnweb.freebsd.org/changeset/base/258387
>
> Log:
> Split raw reading/programming into smaller chunks to avoid allocating too
> big chunk of kernel memory. Validate size of data. Add error handling to
> avoid calling copyout() when data has not been read correctly.
>
> Reviewed by: zbb
> Reported by: x90c <geinblues at gmail.com>
> MFC after: 2 days
>
> Modified:
> head/sys/dev/nand/nand_cdev.c
> head/sys/dev/nand/nand_geom.c
Looks like this change errors w/ gcc:
http://tinderbox.freebsd.org/tinderbox-head-noclang-build-HEAD-armv6-arm.brief
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the svn-src-head
mailing list