Re: + mtd-mtd-in-mtd_release-is-unused-without-config_mtd_char.patch added to -mm tree

From: KOSAKI Motohiro
Date: Sun Apr 19 2009 - 08:41:01 EST


> 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@xxxxxxxxxxxxxxxxxxxx>
> >
> > Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
> > Cc: Denis V. Lunev <den@xxxxxxxxxx>
> > Cc: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > ---
> >
> > 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/