Thread (5 messages) 5 messages, 1 author, 2012-03-30
STALE5210d

[PATCH 00/17] mark const init data with __initconst instead of __initdata

From: Uwe Kleine-König <hidden>
Date: 2012-03-29 21:12:51
Also in: linux-arm-msm, linux-hams, linux-ide, linux-mips, linux-mm, linux-omap, linux-samsung-soc, linuxppc-dev, platform-driver-x86

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/  |

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help