[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090419213812.FFC5.A69D9226@jp.fujitsu.com>
Date: Sun, 19 Apr 2009 21:39:13 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: "Denis V. Lunev" <den@...nvz.org>
Cc: kosaki.motohiro@...fujitsu.com, linux-kernel@...r.kernel.org,
dwmw2@...radead.org, linux-mm <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: + mtd-mtd-in-mtd_release-is-unused-without-config_mtd_char.patch added to -mm tree
> 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 <akpm@...ux-foundation.org>
> >
> > Cc: David Woodhouse <dwmw2@...radead.org>
> > Cc: Denis V. Lunev <den@...nvz.org>
> > Cc: Randy Dunlap <randy.dunlap@...cle.com>
> > Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> > ---
> >
> > 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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists