LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] block2mtd_paramline[] mustn't be __initdata
@ 2007-04-28 19:19 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-04-28 19:19 UTC (permalink / raw)
To: Andrew Morton; +Cc: dwmw2, linux-mtd, linux-kernel, Jörn Engel
block2mtd_paramline[] is used in the non-__init block2mtd_setup()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-By: Jörn Engel <joern@lazybastard.org>
---
This patch has been sent on:
- 25 Mar 2007
--- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [2.6 patch] block2mtd_paramline[] mustn't be __initdata
2007-03-25 14:58 Adrian Bunk
@ 2007-03-25 20:40 ` Jörn Engel
0 siblings, 0 replies; 3+ messages in thread
From: Jörn Engel @ 2007-03-25 20:40 UTC (permalink / raw)
To: Adrian Bunk; +Cc: dwmw2, linux-mtd, linux-kernel
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@stusta.de>
Acked-By: Jörn Engel <joern@lazybastard.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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [2.6 patch] block2mtd_paramline[] mustn't be __initdata
@ 2007-03-25 14:58 Adrian Bunk
2007-03-25 20:40 ` Jörn Engel
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2007-03-25 14:58 UTC (permalink / raw)
To: dwmw2; +Cc: linux-mtd, linux-kernel
block2mtd_paramline[] is used in the non-__init block2mtd_setup()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
--- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-28 19:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-28 19:19 [2.6 patch] block2mtd_paramline[] mustn't be __initdata Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2007-03-25 14:58 Adrian Bunk
2007-03-25 20:40 ` Jörn Engel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).