[RFC] MTD API rework: Harmonize initialization of erase_info->fail_addr

Artem Bityutskiy dedekind1 at gmail.com
Thu Feb 9 06:37:03 EST 2012


On Thu, 2012-02-09 at 08:55 +0200, Shmulik Ladkani wrote:
> Prior MTD API rework, 'mtd->erase()' users needed to initialize
> 'erase_info->fail_addr' to MTD_FAIL_ADDR_UNKNOWN.
> Sometimes it was taken care of by the mtd driver's 'erase'
> implementation.
> 
> Harmonize this, by initializing 'fail_addr' within the new 'mtd_erase'
> interface.
> 
> If idea is suitable, can work on a patch (although not immediately).

Sounds good - no need to ask, just send the patch :-)

-- 
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/20120209/d1f562ab/attachment.sig>


More information about the linux-mtd mailing list