Re: [PATCH 6/8] UBI: replace MTD_UBI_BEB_LIMIT with module parameter

From: Richard Genoud
Date: Mon Aug 20 2012 - 04:21:37 EST


2012/8/20 Richard Genoud <richard.genoud@xxxxxxxxx>:
> 2012/8/19 Shmulik Ladkani <shmulik.ladkani@xxxxxxxxx>:
>> Hi Richard,
>>
>> On Fri, 17 Aug 2012 16:35:22 +0200 Richard Genoud <richard.genoud@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/