public inbox for linuxppc-dev@ozlabs.org 
 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 11/17] powerpc: " Uwe Kleine-König
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2012-03-29 21:11 UTC (permalink / raw)
  To: linux-kernel, Andrew Morton
  Cc: Andrew Lunn, Christoph Lameter, linux-mips, Tony Lindgren,
	Linus Walleij, Nicolas Ferre, Matthew Garrett,
	platform-driver-x86, ibm-acpi-devel, Randy Dunlap, linux-mtd,
	Sekhar Nori, Daniel Walker, lm-sensors, Klaus Kudielka,
	Guenter Roeck, Kevin Hilman, linux-ia64, Kukjin Kim, Russell King,
	Samuel Ortiz, Yoshinori Sato, Lennert Buytenhek, Kyungmin Park,
	David Brown, Anatolij Gustschin, Jean-Christophe Plagniol-Villard,
	Alexey Dobriyan, Joerg Reuter, linux-media, cbe-oss-dev,
	Fenghua Yu, Arnd Bergmann, Tony Luck, Lucas De Marchi,
	linux-arm-msm, Andreas Koensgen, Henrique de Moraes Holschuh,
	Haojian Zhuang, Mauro Carvalho Chehab, Tejun Heo,
	linux-samsung-soc, linux-mm, Barry Song, linux-hams, linux-omap,
	Andrew Victor, linux-arm-kernel, David Howells,
	davinci-linux-open-source, Jean-Paul Roubelat, Eric Miao,
	Linus Walleij, linux-ide, linuxppc-dev, Nicolas Pitre,
	Ralf Baechle, Tomasz Stanislawski, Bryan Huntsman, Sascha Hauer,
	netdev, Jean Delvare, Paul Mackerras, Shawn Guo, David Woodhouse,
	David S. Miller

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-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

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

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

Thread overview: 5+ 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 11/17] powerpc: " 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
2012-03-30 20:05   ` [PATCH v2 10/15] powerpc: " 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