[BUG] mtd-utils: nandwrite: invalid erase after page write failure
Artem Bityutskiy
dedekind1 at gmail.com
Fri Aug 19 14:13:00 EDT 2011
On Fri, 2011-08-19 at 10:22 -0700, Brian Norris wrote:
> On Fri, Aug 19, 2011 at 10:02 AM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> > On Thu, 2011-08-11 at 16:30 +0100, Fryar, Jeff wrote:
> >> mtd-utils nandwrite.c: After a page write failure, the calculation
> >> of the block number to erase is incorrect. The erase block size is
> >> being passed as the erase block number in the call to mtd_erase().
> >
> > Looks like correct fix, thanks! Your patch is not very well formatted,
> > but I've amended it and applied to mtd-utils, thanks!
>
> Oops, my bad on the bug. I didn't ever get around to using this
> feature when I updated nandwrite a while back. Thanks for catching it.
>
> BTW, are you going to rebase or merge the v1.4.6 tag into the master
> development branch? Just curious, since they forked when you did that
> last tag (this never happens!), and I sent another series of mtd-utils
> fixes...I assume I should still base off of master, right?
Hi Brian,
as always, sorry for long delays, I have very little time for hobby
projects. I guess I'll end up disappearing from mtd at some point, but
will see, the plan is to still help MTD moving forward.
Sure you have to base on the master branch. The tag was indeed a "fork"
- I took tag v1.4.5 and put your patch on top. So v1.4.6 is not part of
the master branch. I did so because I did not want to include whole
bunch of changes which could add new regressions - I wanted to make just
a "bugfix" release.
--
Best Regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list