From: Artem Bityutskiy <dedekind1@gmail.com>
To: Brian Norris <computersforpeace@gmail.com>
Cc: "Fryar, Jeff" <jeff.fryar@hp.com>,
"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: [BUG] mtd-utils: nandwrite: invalid erase after page write failure
Date: Fri, 19 Aug 2011 21:13:00 +0300 [thread overview]
Message-ID: <1313777581.2146.3.camel@koala> (raw)
In-Reply-To: <CAN8TOE-1eO-pihTwU6ZE=HZtXNwXg3-ft7qXipvm0Utj6RWBLQ@mail.gmail.com>
On Fri, 2011-08-19 at 10:22 -0700, Brian Norris wrote:
> On Fri, Aug 19, 2011 at 10:02 AM, Artem Bityutskiy <dedekind1@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 (Битюцкий Артём)
next prev parent reply other threads:[~2011-08-19 18:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-11 15:30 [BUG] mtd-utils: nandwrite: invalid erase after page write failure Fryar, Jeff
2011-08-11 15:39 ` Mike Frysinger
2011-08-17 4:42 ` Fryar, Jeff
2011-08-19 17:08 ` Artem Bityutskiy
2011-08-19 17:02 ` Artem Bityutskiy
2011-08-19 17:22 ` Brian Norris
2011-08-19 18:13 ` Artem Bityutskiy [this message]
2011-08-19 18:47 ` Brian Norris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1313777581.2146.3.camel@koala \
--to=dedekind1@gmail.com \
--cc=computersforpeace@gmail.com \
--cc=jeff.fryar@hp.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox