[PATCH v4] mtd: ubi: Extend UBI layer debug/messaging capabilities
Artem Bityutskiy
dedekind1 at gmail.com
Tue Oct 14 08:09:03 PDT 2014
On Tue, 2014-10-14 at 11:39 -0300, Ezequiel Garcia wrote:
> Please use some pr_fmt for this. Something like this before the headers
> should be enough:
>
> #define pr_fmt(fmt) "UBI: block:" fmt
Sinc ubiblock is a device, there should be a 'struct device' somewhere,
so probably dev_printk() and other dev_*() printing functions would be a
better choice?
--
Artem
More information about the linux-mtd
mailing list