From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id B17975F0001 for ; Sun, 19 Apr 2009 08:38:56 -0400 (EDT) Date: Sun, 19 Apr 2009 21:39:13 +0900 (JST) From: KOSAKI Motohiro Subject: Re: + mtd-mtd-in-mtd_release-is-unused-without-config_mtd_char.patch added to -mm tree In-Reply-To: <1240070195.29546.3.camel@iris.sw.ru> References: <20090418152635.125D.A69D9226@jp.fujitsu.com> <1240070195.29546.3.camel@iris.sw.ru> Message-Id: <20090419213812.FFC5.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: "Denis V. Lunev" Cc: kosaki.motohiro@jp.fujitsu.com, linux-kernel@vger.kernel.org, dwmw2@infradead.org, linux-mm , Andrew Morton List-ID: > already fixed by Andrew by > mtd-mtd-in-mtd_release-is-unused-without-config_mtd_char-fix Oh, thanks. - kosaki > > > ------------------------------------------------------ > > Subject: mtd-mtd-in-mtd_release-is-unused-without-config_mtd_char-fix > > From: Andrew Morton > > > > Cc: David Woodhouse > > Cc: Denis V. Lunev > > Cc: Randy Dunlap > > Signed-off-by: Andrew Morton > > --- > > > > drivers/mtd/mtdcore.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff -puN > drivers/mtd/mtdcore.c~mtd-mtd-in-mtd_release-is-unused-without-config_mtd_char-fix drivers/mtd/mtdcore.c > > --- > a/drivers/mtd/mtdcore.c~mtd-mtd-in-mtd_release-is-unused-without-config_mtd_char-fix > > +++ a/drivers/mtd/mtdcore.c > > @@ -48,7 +48,7 @@ static LIST_HEAD(mtd_notifiers); > > */ > > static void mtd_release(struct device *dev) > > { > > - dev_t index = MTD_DEVT(dev_to_mtd(dev)); > > + dev_t index = MTD_DEVT(dev_to_mtd(dev)->index); > > > > /* remove /dev/mtdXro node if needed */ > > if (index) > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org