[PATCH 3/4] MTD: euclean_threshold added to mtd_info and sysfs

Artem Bityutskiy dedekind1 at gmail.com
Tue Mar 13 08:29:16 EDT 2012


On Sun, 2012-03-11 at 14:21 -0700, Mike Dunn wrote:
> The element 'euclean_threshold' is added to struct mtd_info.  If the driver
> leaves this uninitialized, mtd sets it to ecc_strength when the device or
> partition is registered.  This element is also exposed for reading and writing
> from userspace through sysfs.

Would you please change the name?

> An afterthought... ecc_strength should probably also be exposed through syfs as
> a r/o value.  Ioctls for querying both these values could also be added to
> mtdchar.

Yeah, I believe so!

-- 
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/20120313/e1f57418/attachment.sig>


More information about the linux-mtd mailing list