[PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

Artem Bityutskiy dedekind1 at gmail.com
Sun Sep 28 05:15:56 PDT 2014


On Sun, 2014-09-28 at 11:24 +0300, Tanya Brokhman wrote:
> This is how I first implemented this patch. But then I cam across
> some 
> ubi_err prints during the init process (in build.c ubi_init()) when
> we 
> still don't have the ubi structure, so we need to pass some number to 
> the message. I overcame this by using UBI_MAX_DEVICES.

Well, may be having two sets of wrappers would make sense then?

Or if there are few of those, just using 'printk()' would be a solution?

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list