[PATCH 1/3] mtd-utils: new memory wrappers

Mike Frysinger vapier at gentoo.org
Thu Sep 30 01:59:20 EDT 2010


On Thu, Sep 30, 2010 at 01:48, Artem Bityutskiy wrote:
> On Thu, 2010-09-30 at 01:15 -0400, Mike Frysinger wrote:
>> as i'm sure you noticed, i didnt make these up.  i simply moved them
>> from existing mtd-utils code.
>
> Actually no, I did not notice!

np ... only one or two utils uses this, and easy enough to convert
them.  before i go further though, a question on direction ...

mkfs.jffs2 has a lot of helpers that can be moved to common.h.  but it
implements things using C functions & va_args.  the common.h header
takes the CPP approach of expanding the variable args.  which way to
go to ultimately unify the code base !?
-mike



More information about the linux-mtd mailing list