[PATCH v3 4/6] UBI: replace MTD_UBI_BEB_LIMIT with module parameter

Artem Bityutskiy dedekind1 at gmail.com
Wed Aug 22 08:16:53 EDT 2012


On Wed, 2012-08-22 at 14:09 +0200, Richard Genoud wrote:
> 2012/8/22 Artem Bityutskiy <dedekind1 at gmail.com>:
> > Well, now I am talking about consistency within UBI only, withing the
> > project. I think that function is the only one which uses plain printk
> > in UBI. I do not remember the details, but there were some issues using
> > the UBI wrappers like 'ubi_msg' in this function because it is called
> > very early during boot time (when UBI is compiled-in). And I just did
> > not know about pr_err() that time, or pr_err() did not exist. So you can
> > just amend this single function if you wish.
> 
> (for the record, pr_err didn't exists at the time UBI got into the kernel)
> I tested this function with pr_err and ubi_err, and both are working.
> (by using  ubi.mtd= ubi.mtd=2,0,toto ubi.mtd=1,2,3,4)
> It should be better to use ubi_err don't you think ?
> (or I missed a corner case ?)

I guess it is safe to change than, thank you!

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120822/c49bb639/attachment.sig>


More information about the linux-mtd mailing list