[PATCH 03/10] nandwrite: consolidate buffer usage
Mike Frysinger
vapier.adi at gmail.com
Wed Sep 14 01:15:36 EDT 2011
On Wed, Aug 31, 2011 at 16:00, Brian Norris wrote:
> Instead of using two different output buffers for OOB data, let's just
> use the same one for all output. This adds an extra memcpy, but it
> simplifies some future work, so it's worth it.
could it be done by pulling out the pointer ? make oobbuf a "char *",
rename existing oobbuf to like "char _oobbuf[]", and then assign
oobbuf to the relevant buffer and assume it's always set ...
-mike
More information about the linux-mtd
mailing list