[PATCH 6/8] UBI: replace MTD_UBI_BEB_LIMIT with module parameter
Richard Genoud
richard.genoud at gmail.com
Mon Aug 20 04:21:17 EDT 2012
2012/8/20 Richard Genoud <richard.genoud at gmail.com>:
> 2012/8/19 Shmulik Ladkani <shmulik.ladkani at gmail.com>:
>> Hi Richard,
>>
>> On Fri, 17 Aug 2012 16:35:22 +0200 Richard Genoud <richard.genoud at gmail.com> wrote:
>>> + "MTD devices may be specified by their number, name, or path to the MTD character device node.\n"
>>> + "Optional \"vid_hdr_offs\" parameter specifies UBI VID header position to be used by UBI. (default value if 0 or not set)\n"
>>> + "Optional \"max_beb_per1024\" parameter specifies the maximum expected bad eraseblock per 1024 eraseblocks. (default value ("
>>> + __stringify(CONFIG_MTD_UBI_BEB_LIMIT) ") if 0 or not set)\n"
>>
>> Looks like "mtd=/dev/mtd1,,25" is invalid, although we state "default
>> value if 0 or not set".
> I'm going to check that.
I made a patch to accept empty string value.
I'll send it with the rest of the patch serie.
Regards,
Richard.
More information about the linux-mtd
mailing list