[PATCH v2 2/2] UBI: Make mtd parameter readable

Richard Weinberger richard at nod.at
Tue Jan 10 07:31:56 PST 2017


Andy,

Am 10.01.2017 um 15:35 schrieb Andy Shevchenko:
>> Did you check? Do other drivers in the kernel that have a parser
>> behind a non-trivial
>> module parameter also expose it to user space?
> 
> Just checked. The only one which is not, this one.
> 

That's an excellent reason. :-)
But I see also:
mtd/devices/phram.c:module_param_call(phram, phram_param_call, NULL, NULL, 000);

If these two are the only users of 000, let's rip them out to be consistent
with the rest of the kernel.

Thanks,
//richard



More information about the linux-mtd mailing list