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

Richard Genoud richard.genoud at gmail.com
Wed Aug 22 08:09:20 EDT 2012


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 ?)


Richard.

-- 
for me, ck means con kolivas and not calvin klein... does it mean I'm a geek ?



More information about the linux-mtd mailing list