[PATCH v2] MTD: modify mtd api to return bitflip info on read operations

Artem Bityutskiy dedekind1 at gmail.com
Mon Dec 5 16:16:34 EST 2011


On Mon, 2011-12-05 at 10:13 -0800, Mike Dunn wrote:
> OK.  But you may still be underestimating the quantity of code that warrants
> review.  Since we're going back to multiple patches anyway, how about four patches:
> 
> 1. api change to mtd.h (a few lines just to put the rest in context)
> 2. nand, onenand
> 3. mtd infrastructructure: mtdblock, mtdchar, mtdpart, mtdconcat, ...
> 4. rote changes

But you need to maintain bisectability. The kernel has to be compilable
and working between all these steps. The only way to do this is to add 2
new interfaces without removing the old ones, the do all the changes in
N stpes, then remove old interfaces. When I start thinking about that,
it looks too much, so I am not sure.

Artem.





More information about the linux-mtd mailing list