From: Gabor Juhos <juhosg@openwrt.org>
To: artem.bityutskiy@linux.intel.com
Cc: linux-mtd@lists.infradead.org,
David Woodhouse <dwmw2@infradead.org>,
stable@vger.kernel.org
Subject: Re: [PATCH] mtd: block2mtd: fix recursive call of mtd_writev
Date: Thu, 24 May 2012 10:50:37 +0200 [thread overview]
Message-ID: <4FBDF65D.8010205@openwrt.org> (raw)
In-Reply-To: <1337845719.15137.71.camel@sauron.fi.intel.com>
2012.05.24. 9:48 keltezéssel, Artem Bityutskiy írta:
> On Thu, 2012-05-24 at 00:17 +0200, Gabor Juhos wrote:
>> The 'mtd_writev' interface calls the function assigned to the '_write'
>> field of a given mtd device if that is not NULL. The block2mtd driver
>> sets the '_writev' field to the 'mtd_writev' function itself and thus
>> causes a endless loop.
>>
>> This is caused by 1dbebd32562b3c2caeca35960e5cb00bfcc12900 (mtd:
>> harmonize mtd_writev usage).
>>
>> Remove the assignment from the block2mtd driver to fix the issue.
>>
>> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Artem Bityutskiy
>> <artem.bityutskiy@linux.intel.com> Cc: stable@vger.kernel.org
>
> Amended the "stable" tag and pushed to l2-mtd.git, thanks:
>
> Cc: stable@kernel.org [3.3+]
>
Thanks!
prev parent reply other threads:[~2012-05-24 8:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 22:17 [PATCH] mtd: block2mtd: fix recursive call of mtd_writev Gabor Juhos
2012-05-24 7:48 ` Artem Bityutskiy
2012-05-24 8:50 ` Gabor Juhos [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=4FBDF65D.8010205@openwrt.org \
--to=juhosg@openwrt.org \
--cc=artem.bityutskiy@linux.intel.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=stable@vger.kernel.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