[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1240070195.29546.3.camel@iris.sw.ru>
Date: Sat, 18 Apr 2009 19:56:35 +0400
From: "Denis V. Lunev" <den@...nvz.org>
To: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Cc: 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
> ------------------------------------------------------
> 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