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

From: Artem Bityutskiy
Date: Sun Sep 28 2014 - 08:16:07 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/