[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070325204026.GB19691@lazybastard.org>
Date: Sun, 25 Mar 2007 22:40:26 +0200
From: Jörn Engel <joern@...ybastard.org>
To: Adrian Bunk <bunk@...sta.de>
Cc: dwmw2@...radead.org, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] block2mtd_paramline[] mustn't be __initdata
On Sun, 25 March 2007 16:58:05 +0200, Adrian Bunk wrote:
>
> block2mtd_paramline[] is used in the non-__init block2mtd_setup()
>
> Signed-off-by: Adrian Bunk <bunk@...sta.de>
Acked-By: Jörn Engel <joern@...ybastard.org>
Adrian, can you put me on Cc: next time?
> ---
> --- linux-2.6.21-rc4-mm1/drivers/mtd/devices/block2mtd.c.old 2007-03-25 15:56:10.000000000 +0200
> +++ linux-2.6.21-rc4-mm1/drivers/mtd/devices/block2mtd.c 2007-03-25 15:56:31.000000000 +0200
> @@ -423,7 +423,7 @@
>
> #ifndef MODULE
> static int block2mtd_init_called = 0;
> -static __initdata char block2mtd_paramline[80 + 12]; /* 80 for device, 12 for erase size */
> +static char block2mtd_paramline[80 + 12]; /* 80 for device, 12 for erase size */
> #endif
Jörn
--
Das Aufregende am Schreiben ist es, eine Ordnung zu schaffen, wo
vorher keine existiert hat.
-- Doris Lessing
-
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