linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/17] mark const init data with __initconst instead of __initdata
@ 2012-03-29 21:11 Uwe Kleine-König
  2012-03-29 21:12 ` [PATCH 01/17] percpu: " Uwe Kleine-König
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Uwe Kleine-König @ 2012-03-29 21:11 UTC (permalink / raw)
  To: linux-kernel, Andrew Morton
  Cc: Alexey Dobriyan, Anatolij Gustschin, Andreas Koensgen,
	Andrew Lunn, Andrew Victor, Arnd Bergmann, Barry Song,
	Benjamin Herrenschmidt, Bryan Huntsman, cbe-oss-dev,
	Christoph Lameter, Daniel Walker, David Brown, David Howells,
	David S. Miller, David Woodhouse, davinci-linux-open-source,
	Eric Miao, Fenghua Yu, Grant Likely, Guenter Roeck,
	Haojian Zhuang, Henrique de Moraes Holschuh, ibm-acpi-devel,
	Jean-Christophe Plagniol-Villard, Jean Delvare,
	Jean-Paul Roubelat, Joerg Reuter, Josh Boyer, Kevin Hilman,
	Klaus Kudielka, Kukjin Kim, Kumar Gala, Kyungmin Park,
	Lennert Buytenhek, Linus Walleij, Linus Walleij, linux-arm-kernel,
	linux-arm-msm, linux-hams, linux-ia64, linux-ide, linux-media,
	linux-mips, linux-mm, linux-mtd, linux-omap, linuxppc-dev,
	linux-samsung-soc, lm-sensors, Lucas De Marchi, Matthew Garrett,
	Matt Porter, Mauro Carvalho Chehab, netdev, Nicolas Ferre,
	Nicolas Pitre, Paul Mackerras, platform-driver-x86, Ralf Baechle,
	Randy Dunlap, Russell King, Samuel Ortiz, Sascha Hauer,
	Sekhar Nori, Shawn Guo, Tejun Heo, Tomasz Stanislawski,
	Tony Lindgren, Tony Luck, Yoshinori Sato

Hello,

this series fixes a common error to use __initdata to mark const
variables. Most of the time this works well enough to go unnoticed
(though I wonder why the linker doesn't warn about that).
Just try adding something like

	int something __initdata;

to one of the patched files and compile to see the error.

While touching these annotations I also corrected the position where it
was wrong to go between the variable name and the =.

Note this series is not compile tested.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-Ki? 1/2 nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-30 20:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-29 21:11 [PATCH 00/17] mark const init data with __initconst instead of __initdata Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 01/17] percpu: " Uwe Kleine-König
2012-03-30  9:59 ` [PATCH 00/17] " Uwe Kleine-König
2012-03-30 20:03 ` [PATCH v2 00/15] " Uwe Kleine-König

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).