Skip to contentSkip to conversation

block2mtd_paramline[] mustn't be __initdata

PATCH In review Adrian Bunk 2 participants 2 messages Mar 25, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block2mtd_paramline[] mustn't be __initdata

block2mtd_paramline[] is used in the non-__init block2mtd_setup()

---

drivers/mtd/devices/block2mtd.c renamed from drivers/mtd/devices/block2mtd.c.old +1 -1
@@ -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
 
 
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Adrian Bunk

block2mtd_paramline[] is used in the non-__init block2mtd_setup()

Adrian, can you put me on Cc: next time?

drivers/mtd/devices/block2mtd.c line 427

Quoted 10 lines

---

drivers/mtd/devices/block2mtd.c renamed from drivers/mtd/devices/block2mtd.c.old +1 -1
@@ -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

Signature · 3 lines
Das Aufregende am Schreiben ist es, eine Ordnung zu schaffen, wo
vorher keine existiert hat.
-- Doris Lessing