* [RFC] MTD API rework: Harmonize initialization of erase_info->fail_addr
@ 2012-02-09 6:55 Shmulik Ladkani
2012-02-09 11:37 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Shmulik Ladkani @ 2012-02-09 6:55 UTC (permalink / raw)
To: linux-mtd; +Cc: Artem Bityutskiy
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).
Regards,
Shmulik
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC] MTD API rework: Harmonize initialization of erase_info->fail_addr
2012-02-09 6:55 [RFC] MTD API rework: Harmonize initialization of erase_info->fail_addr Shmulik Ladkani
@ 2012-02-09 11:37 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2012-02-09 11:37 UTC (permalink / raw)
To: Shmulik Ladkani; +Cc: linux-mtd
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-09 11:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-09 6:55 [RFC] MTD API rework: Harmonize initialization of erase_info->fail_addr Shmulik Ladkani
2012-02-09 11:37 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox