linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH] mtd: tests: stresstest: bail out if device has not enough eraseblocks
Date: Sun, 04 Dec 2011 15:50:47 +0200	[thread overview]
Message-ID: <1323006665.9400.54.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <1322577248-20759-1-git-send-email-w.sang@pengutronix.de>

[-- Attachment #1: Type: text/plain, Size: 757 bytes --]

On Tue, 2011-11-29 at 15:34 +0100, Wolfram Sang wrote:
> stresstest needs at least two eraseblocks. Bail out gracefully if that
> condition is not met. Fixes the following 'division by zero' OOPS:
> 
> [  619.100000] mtd_stresstest: MTD device size 131072, eraseblock size 131072, page size 2048, count of eraseblocks 1, pages per eraseblock 64, OOB size 64
> [  619.120000] mtd_stresstest: scanning for bad eraseblocks
> [  619.120000] mtd_stresstest: scanned 1 eraseblocks, 0 are bad
> [  619.130000] mtd_stresstest: doing operations
> [  619.130000] mtd_stresstest: 0 operations done
> [  619.140000] Division by zero in kernel.

Hi, thanks, added
Cc: stable@kernel.org
and pushed to l2-mtd-2.6.git.

-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2011-12-04 13:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29 14:34 [PATCH] mtd: tests: stresstest: bail out if device has not enough eraseblocks Wolfram Sang
2011-12-04 13:50 ` Artem Bityutskiy [this message]

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=1323006665.9400.54.camel@sauron.fi.intel.com \
    --to=dedekind1@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=w.sang@pengutronix.de \
    /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;
as well as URLs for NNTP newsgroup(s).