All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
	Christoph Lameter <cl@linux-foundation.org>,
	linux-mips@linux-mips.org, Tony Lindgren <tony@atomide.com>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Matt Porter <mporter@kernel.crashing.org>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	platform-driver-x86@vger.kernel.org,
	Grant Likely <grant.likely@secretlab.ca>,
	ibm-acpi-devel@lists.sourceforge.net,
	Randy Dunlap <rdunlap@xenotime.net>,
	linux-mtd@lists.infradead.org, Sekhar Nori <nsekhar@ti.com>,
	Daniel Walker <dwalker@fifo99.com>,
	lm-sensors@lm-sensors.org,
	Klaus Kudielka <klaus.kudielka@ieee.org>,
	Guenter Roeck <guenter.roeck@ericsson.com>,
	Kevin Hilman <khilman@ti.com>,
	linux-ia64@vger.kernel.org, Kukjin Kim <kgene.kim@samsung.com>,
	Russell King <linux@arm.linux.org.uk>,
	Samuel Ortiz <sameo@linux.intel.c>
Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata
Date: Thu, 29 Mar 2012 23:11:31 +0200	[thread overview]
Message-ID: <20120329211131.GA31250@pengutronix.de> (raw)

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/

WARNING: multiple messages have this Message-ID (diff)
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
	Christoph Lameter <cl@linux-foundation.org>,
	linux-mips@linux-mips.org, Tony Lindgren <tony@atomide.com>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Matt Porter <mporter@kernel.crashing.org>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	platform-driver-x86@vger.kernel.org,
	Grant Likely <grant.likely@secretlab.ca>,
	ibm-acpi-devel@lists.sourceforge.net,
	Randy Dunlap <rdunlap@xenotime.net>,
	linux-mtd@lists.infradead.org, Sekhar Nori <nsekhar@ti.com>,
	Daniel Walker <dwalker@fifo99.com>,
	lm-sensors@lm-sensors.org,
	Klaus Kudielka <klaus.kudielka@ieee.org>,
	Guenter Roeck <guenter.roeck@ericsson.com>,
	Kevin Hilman <khilman@ti.com>,
	linux-ia64@vger.kernel.org, Kukjin Kim <kgene.kim@samsung.com>,
	Russell King <linux@arm.linux.org.uk>,
	Samuel Ortiz <sameo@linux.intel.c
Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata
Date: Thu, 29 Mar 2012 23:11:31 +0200	[thread overview]
Message-ID: <20120329211131.GA31250@pengutronix.de> (raw)

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/

WARNING: multiple messages have this Message-ID (diff)
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>,
	Anatolij Gustschin <agust@denx.de>,
	Andreas Koensgen <ajk@comnets.uni-bremen.de>,
	Andrew Lunn <andrew@lunn.ch>, Andrew Victor <linux@maxim.org.za>,
	Arnd Bergmann <arnd@arndb.de>, Barry Song <baohua.song@csr.com>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Bryan Huntsman <bryanh@codeaurora.org>,
	cbe-oss-dev@lists.ozlabs.org,
	Christoph Lameter <cl@linux-foundation.org>,
	Daniel Walker <dwalker@fifo99.com>,
	David Brown <davidb@codeaurora.org>,
	David Howells <dhowells@redhat.com>,
	"David S. Miller" <davem@davemloft.net>,
	David Woodhouse <dwmw2@infradead.org>,
	davinci-linux-open-source@linux.davincidsp.com,
	Eric Miao <eric.y.miao@gmail.com>,
	Fenghua Yu <fenghua.yu@intel.com>,
	Grant Likely <grant.likely@secretlab.ca>,
	Guenter Roeck <guenter.roeck@ericsson.com>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>,
	ibm-acpi-devel@lists.sourceforge.net,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Jean Delvare <khali@linux-fr.org>,
	Jean-Paul Roubelat <jpr@f6fbb.org>,
	Joerg Reuter <jreuter@yaina.de>, Josh Boyer <jwboyer@gmail.com>,
	Kevin Hilman <khilman@ti.com>,
	Klaus Kudielka <klaus.kudielka@ieee.org>,
	Kukjin Kim <kgene.kim@samsung.com>,
	Kumar Gala <galak@kernel.crashing.org>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	Lennert Buytenhek <kernel@wantstofly.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Linus Walleij <linus.walleij@stericsson.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, linux-hams@vger.kernel.org,
	linux-ia64@vger.kernel.org, linux-ide@vger.kernel.org,
	linux-media@vger.kernel.org, linux-mips@linux-mips.org,
	linux-mm@kvack.org, linux-mtd@lists.infradead.org,
	linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	linux-samsung-soc@vger.kernel.org, lm-sensors@lm-sensors.org,
	Lucas De Marchi <lucas.demarchi@profusion.mobi>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	Matt Porter <mporter@kernel.crashing.org>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	netdev@vger.kernel.org, Nicolas Ferre <nicolas.ferre@atmel.com>,
	Nicolas Pitre <nico@fluxnic.net>,
	Paul Mackerras <paulus@samba.org>,
	platform-driver-x86@vger.kernel.org,
	Ralf Baechle <ralf@linux-mips.org>,
	Randy Dunlap <rdunlap@xenotime.net>,
	Russell King <linux@arm.linux.org.uk>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Sascha Hauer <kernel@pengutronix.de>,
	Sekhar Nori <nsekhar@ti.com>, Shawn Guo <shawn.guo@linaro.org>,
	Tejun Heo <tj@kernel.org>,
	Tomasz Stanislawski <t.stanislaws@samsung.com>,
	Tony Lindgren <tony@atomide.com>, Tony Luck <tony.luck@intel.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>
Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata
Date: Thu, 29 Mar 2012 23:11:31 +0200	[thread overview]
Message-ID: <20120329211131.GA31250@pengutronix.de> (raw)

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

WARNING: multiple messages have this Message-ID (diff)
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>,
	Anatolij Gustschin <agust@denx.de>,
	Andreas Koensgen <ajk@comnets.uni-bremen.de>,
	Andrew Lunn <andrew@lunn.ch>, Andrew Victor <linux@maxim.org.za>,
	Arnd Bergmann <arnd@arndb.de>, Barry Song <baohua.song@csr.com>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Bryan Huntsman <bryanh@codeaurora.org>,
	cbe-oss-dev@lists.ozlabs.org,
	Christoph Lameter <cl@linux-foundation.org>,
	Daniel Walker <dwalker@fifo99.com>,
	David Brown <davidb@codeaurora.org>,
	David Howells <dhowells@redhat.com>,
	"David S. Miller" <davem@davemloft.net>,
	David Woodhouse <dwmw2@infradead.org>,
	davinci-linux-open-source@linux.davincidsp.com,
	Eric Miao <eric.y.miao@gmail.com>,
	Fenghua Yu <fenghua.yu@intel.com>,
	Grant Likely <grant.likely@secretlab.ca>,
	Guenter Roeck <guenter.roeck@ericsson.com>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>,
	ibm-acpi-devel@lists.sourceforge.net,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Jean Delvare <khali@linux-fr.org>,
	Jean-Paul Roubelat <jpr@f6fbb.org>,
	Joerg Reuter <jreuter@yaina.de>, Josh Boyer <jwboyer@gmail.com>,
	Kevin Hilman <khilman@ti.com>,
	Klaus Kudielka <klaus.kudielka@ieee.org>,
	Kukjin Kim <kgene.kim@samsung.com>,
	Kumar Gala <galak@kernel.crashing.org>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	Lennert Buytenhek <kernel@wantstofly.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Linus Walleij <linus.walleij@stericsson.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, linux-hams@vger.kernel.org,
	linux-ia64@vger.kernel.org, linux-ide@vger.kernel.org,
	linux-media@vger.kernel.org, linux-mips@linux-mips.org,
	linux-mm@kvack.org, linux-mtd@lists.infradead.org,
	linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	linux-samsung-soc@vger.kernel.org, lm-sensors@lm-sensors.org,
	Lucas De Marchi <lucas.demarchi@profusion.mobi>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	Matt Porter <mporter@kernel.crashing.org>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	netdev@vger.kernel.org, Nicolas Ferre <nicolas.ferre@atmel.com>,
	Nicolas Pitre <nico@fluxnic.net>,
	Paul Mackerras <paulus@samba.org>,
	platform-driver-x86@vger.kernel.org,
	Ralf Baechle <ralf@linux-mips.org>,
	Randy Dunlap <rdunlap@xenotime.net>,
	Russell King <linux@arm.linux.org.uk>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Sascha Hauer <kernel@pengutronix.de>,
	Sekhar Nori <nsekhar@ti.com>, Shawn Guo <shawn.guo@linaro.org>,
	Tejun Heo <tj@kernel.org>,
	Tomasz Stanislawski <t.stanislaws@samsung.com>,
	Tony Lindgren <tony@atomide.com>, Tony Luck <tony.luck@intel.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>
Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata
Date: Thu, 29 Mar 2012 23:11:31 +0200	[thread overview]
Message-ID: <20120329211131.GA31250@pengutronix.de> (raw)

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>

WARNING: multiple messages have this Message-ID (diff)
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
	Christoph Lameter <cl@linux-foundation.org>,
	linux-mips@linux-mips.org, Tony Lindgren <tony@atomide.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	platform-driver-x86@vger.kernel.org,
	ibm-acpi-devel@lists.sourceforge.net,
	Randy Dunlap <rdunlap@xenotime.net>,
	linux-mtd@lists.infradead.org, Sekhar Nori <nsekhar@ti.com>,
	Daniel Walker <dwalker@fifo99.com>,
	lm-sensors@lm-sensors.org,
	Klaus Kudielka <klaus.kudielka@ieee.org>,
	Guenter Roeck <guenter.roeck@ericsson.com>,
	Kevin Hilman <khilman@ti.com>,
	linux-ia64@vger.kernel.org, Kukjin Kim <kgene.kim@samsung.com>,
	Russell King <linux@arm.linux.org.uk>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Lennert Buytenhek <kernel@wantstofly.org>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	David Brown <davidb@codeaurora.org>,
	Anatolij Gustschin <agust@denx.de>,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Alexey Dobriyan <adobriyan@gmail.com>,
	Joerg Reuter <jreuter@yaina.de>,
	linux-media@vger.kernel.org, cbe-oss-dev@lists.ozlabs.org,
	Fenghua Yu <fenghua.yu@intel.com>, Arnd Bergmann <arnd@arndb.de>,
	Tony Luck <tony.luck@intel.com>,
	Lucas De Marchi <lucas.demarchi@profusion.mobi>,
	linux-arm-msm@vger.kernel.org,
	Andreas Koensgen <ajk@comnets.uni-bremen.de>,
	Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	Tejun Heo <tj@kernel.org>,
	linux-samsung-soc@vger.kernel.org, linux-mm@kvack.org,
	Barry Song <baohua.song@csr.com>,
	linux-hams@vger.kernel.org, linux-omap@vger.kernel.org,
	Andrew Victor <linux@maxim.org.za>,
	linux-arm-kernel@lists.infradead.org,
	David Howells <dhowells@redhat.com>,
	davinci-linux-open-source@linux.davincidsp.com,
	Jean-Paul Roubelat <jpr@f6fbb.org>,
	Eric Miao <eric.y.miao@gmail.com>,
	Linus Walleij <linus.walleij@stericsson.com>,
	linux-ide@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	Nicolas Pitre <nico@fluxnic.net>,
	Ralf Baechle <ralf@linux-mips.org>,
	Tomasz Stanislawski <t.stanislaws@samsung.com>,
	Bryan Huntsman <bryanh@codeaurora.org>,
	Sascha Hauer <kernel@pengutronix.de>,
	netdev@vger.kernel.org, Jean Delvare <khali@linux-fr.org>,
	Paul Mackerras <paulus@samba.org>,
	Shawn Guo <shawn.guo@linaro.org>,
	David Woodhouse <dwmw2@infradead.org>,
	"David S. Miller" <davem@davemloft.net>
Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata
Date: Thu, 29 Mar 2012 23:11:31 +0200	[thread overview]
Message-ID: <20120329211131.GA31250@pengutronix.de> (raw)

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

WARNING: multiple messages have this Message-ID (diff)
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
	Christoph Lameter <cl@linux-foundation.org>,
	linux-mips@linux-mips.org, Tony Lindgren <tony@atomide.com>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Matt Porter <mporter@kernel.crashing.org>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	platform-driver-x86@vger.kernel.org,
	Grant Likely <grant.likely@secretlab.ca>,
	ibm-acpi-devel@lists.sourceforge.net,
	Randy Dunlap <rdunlap@xenotime.net>,
	linux-mtd@lists.infradead.org, Sekhar Nori <nsekhar@ti.com>,
	Daniel Walker <dwalker@fifo99.com>,
	lm-sensors@lm-sensors.org,
	Klaus Kudielka <klaus.kudielka@ieee.org>,
	Guenter Roeck <guenter.roeck@ericsson.com>,
	Kevin Hilman <khilman@ti.com>,
	linux-ia64@vger.kernel.org, Kukjin Kim <kgene.kim@samsung.com>,
	Russell King <linux@arm.linux.org.uk>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Kumar Gala <galak@kernel.crashing.org>,
	Lennert Buytenhek <kernel@wantstofly.org>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	David Brown <davidb@codeaurora.org>,
	Anatolij Gustschin <agust@denx.de>,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Alexey Dobriyan <adobriyan@gmail.com>,
	Joerg Reuter <jreuter@yaina.de>,
	linux-media@vger.kernel.org, cbe-oss-dev@lists.ozlabs.org,
	Fenghua Yu <fenghua.yu@intel.com>, Arnd Bergmann <arnd@arndb.de>,
	Tony Luck <tony.luck@intel.com>,
	Lucas De Marchi <lucas.demarchi@profusion.mobi>,
	linux-arm-msm@vger.kernel.org,
	Andreas Koensgen <ajk@comnets.uni-bremen.de>,
	Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	Tejun Heo <tj@kernel.org>,
	linux-samsung-soc@vger.kernel.org, linux-mm@kvack.org,
	Barry Song <baohua.song@csr.com>,
	linux-hams@vger.kernel.org, linux-omap@vger.kernel.org,
	Andrew Victor <linux@maxim.org.za>,
	linux-arm-kernel@lists.infradead.org,
	David Howells <dhowells@redhat.com>,
	davinci-linux-open-source@linux.davincidsp.com,
	Jean-Paul Roubelat <jpr@f6fbb.org>,
	Eric Miao <eric.y.miao@gmail.com>,
	Linus Walleij <linus.walleij@stericsson.com>,
	linux-ide@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	Nicolas Pitre <nico@fluxnic.net>,
	Ralf Baechle <ralf@linux-mips.org>,
	Tomasz Stanislawski <t.stanislaws@samsung.com>,
	Bryan Huntsman <bryanh@codeaurora.org>,
	Sascha Hauer <kernel@pengutronix.de>,
	netdev@vger.kernel.org, Jean Delvare <khali@linux-fr.org>,
	Paul Mackerras <paulus@samba.org>, Josh Boyer <jwboyer@gmail.com>,
	Shawn Guo <shawn.guo@linaro.org>,
	David Woodhouse <dwmw2@infradead.org>,
	"David S. Miller" <davem@davemloft.net>
Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata
Date: Thu, 29 Mar 2012 23:11:31 +0200	[thread overview]
Message-ID: <20120329211131.GA31250@pengutronix.de> (raw)

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

WARNING: multiple messages have this Message-ID (diff)
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
	Christoph Lameter <cl@linux-foundation.org>,
	linux-mips@linux-mips.org, Tony Lindgren <tony@atomide.com>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Matt Porter <mporter@kernel.crashing.org>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	platform-driver-x86@vger.kernel.org,
	Grant Likely <grant.likely@secretlab.ca>,
	ibm-acpi-devel@lists.sourceforge.net,
	Randy Dunlap <rdunlap@xenotime.net>,
	linux-mtd@lists.infradead.org, Sekhar Nori <nsekhar@ti.com>,
	Daniel Walker <dwalker@fifo99.com>,
	lm-sensors@lm-sensors.org,
	Klaus Kudielka <klaus.kudielka@ieee.org>,
	Guenter Roeck <guenter.roeck@ericsson.com>,
	Kevin Hilman <khilman@ti.com>,
	linux-ia64@vger.kernel.org, Kukjin Kim <kgene.kim@samsung.com>,
	Russell King <linux@arm.linux.org.uk>,
	Samuel Ortiz <sameo@linux.intel.c>
Subject: [lm-sensors] [PATCH 00/17] mark const init data with __initconst instead of __initdata
Date: Thu, 29 Mar 2012 21:11:31 +0000	[thread overview]
Message-ID: <20120329211131.GA31250@pengutronix.de> (raw)

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

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

             reply	other threads:[~2012-03-29 21:11 UTC|newest]

Thread overview: 105+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29 21:11 Uwe Kleine-König [this message]
2012-03-29 21:11 ` [lm-sensors] [PATCH 00/17] mark const init data with __initconst instead of __initdata Uwe Kleine-König
2012-03-29 21:11 ` Uwe Kleine-König
2012-03-29 21:11 ` Uwe Kleine-König
2012-03-29 21:11 ` Uwe Kleine-König
2012-03-29 21:11 ` Uwe Kleine-König
2012-03-29 21:11 ` Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 01/17] percpu: " Uwe Kleine-König
2012-03-29 21:12   ` Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 02/17] pinctrl: " Uwe Kleine-König
2012-04-03 20:28   ` Linus Walleij
2012-03-29 21:12 ` [PATCH 03/17] ARM: " Uwe Kleine-König
2012-03-29 21:12   ` Uwe Kleine-König
2012-03-29 21:12   ` Uwe Kleine-König
2012-03-29 22:31   ` David Brown
2012-03-29 22:31     ` David Brown
2012-03-29 22:31     ` David Brown
2012-03-30  4:34   ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-30  4:34     ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-30  4:34     ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-30  6:11   ` Shawn Guo
2012-03-30  6:11     ` Shawn Guo
2012-03-30  6:11     ` Shawn Guo
2012-03-30  9:50     ` Uwe Kleine-König
2012-03-30  9:50       ` Uwe Kleine-König
2012-03-30  9:50       ` Uwe Kleine-König
2012-03-30 11:25       ` Shawn Guo
2012-03-30 11:25         ` Shawn Guo
2012-03-30 11:25         ` Shawn Guo
2012-03-30 16:11   ` Tony Lindgren
2012-03-30 16:11     ` Tony Lindgren
2012-03-30 16:11     ` Tony Lindgren
2012-03-29 21:12 ` [PATCH 04/17] FRV: " Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 05/17] net: " Uwe Kleine-König
2012-03-29 21:12   ` Uwe Kleine-König
2012-03-29 21:12   ` Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 06/17] hwmon: " Uwe Kleine-König
2012-03-29 21:12   ` [lm-sensors] " Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 07/17] mfd: " Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 08/17] mips: " Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 09/17] h8300: " Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 10/17] ia64: " Uwe Kleine-König
2012-03-29 21:12   ` Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 11/17] powerpc: " Uwe Kleine-König
2012-03-29 21:12   ` Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 12/17] gpio/samsung: " Uwe Kleine-König
2012-04-03 20:29   ` Linus Walleij
2012-03-29 21:12 ` [PATCH 13/17] ide: " Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 14/17] media/video/s5p-tv: " Uwe Kleine-König
2012-03-29 21:12   ` Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 15/17] mtd: " Uwe Kleine-König
2012-03-29 21:12   ` Uwe Kleine-König
2012-04-13 15:43   ` Artem Bityutskiy
2012-04-13 15:43     ` Artem Bityutskiy
2012-03-29 21:12 ` [PATCH 16/17] drivers/x86: " Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 17/17] kstrtox: " Uwe Kleine-König
2012-03-30  9:59 ` [PATCH 00/17] " Uwe Kleine-König
2012-03-30  9:59   ` [lm-sensors] " Uwe Kleine-König
2012-03-30  9:59   ` Uwe Kleine-König
2012-03-30  9:59   ` Uwe Kleine-König
2012-03-30  9:59   ` Uwe Kleine-König
2012-03-30  9:59   ` Uwe Kleine-König
2012-03-30  9:59   ` Uwe Kleine-König
2012-03-30 11:37   ` Andreas Schwab
2012-03-30 18:19     ` Uwe Kleine-König
2012-03-30 20:03 ` [PATCH v2 00/15] " Uwe Kleine-König
2012-03-30 20:03   ` [lm-sensors] " Uwe Kleine-König
2012-03-30 20:03   ` Uwe Kleine-König
2012-03-30 20:03   ` Uwe Kleine-König
2012-03-30 20:03   ` Uwe Kleine-König
2012-03-30 20:03   ` Uwe Kleine-König
2012-03-30 20:04   ` [PATCH v2 01/15] pinctrl: " Uwe Kleine-König
2012-04-03 20:47     ` Linus Walleij
2012-03-30 20:04   ` [PATCH v2 02/15] ARM: " Uwe Kleine-König
2012-03-30 20:04     ` Uwe Kleine-König
2012-03-30 20:04     ` Uwe Kleine-König
2012-04-11 11:34     ` Sekhar Nori
2012-04-11 11:34       ` Sekhar Nori
2012-04-11 11:34       ` Sekhar Nori
2012-03-30 20:04   ` [PATCH v2 03/15] FRV: " Uwe Kleine-König
2012-03-30 20:04   ` [PATCH v2 04/15] net: " Uwe Kleine-König
2012-03-30 20:04     ` Uwe Kleine-König
2012-03-30 20:04     ` Uwe Kleine-König
2012-03-30 20:04   ` [PATCH v2 05/15] hwmon: " Uwe Kleine-König
2012-03-30 20:04     ` [lm-sensors] " Uwe Kleine-König
2012-03-31  3:54     ` Guenter Roeck
2012-03-31  3:54       ` [lm-sensors] " Guenter Roeck
2012-03-31 14:09       ` Uwe Kleine-König
2012-03-31 14:09         ` [lm-sensors] " Uwe Kleine-König
2012-03-31 20:14         ` Guenter Roeck
2012-03-31 20:14           ` [lm-sensors] " Guenter Roeck
2012-03-30 20:04   ` [PATCH v2 06/15] mfd: " Uwe Kleine-König
2012-04-16 10:30     ` Samuel Ortiz
2012-03-30 20:04   ` [PATCH v2 07/15] mips: " Uwe Kleine-König
2012-03-30 20:04   ` [PATCH v2 08/15] h8300: " Uwe Kleine-König
2012-03-30 20:04   ` [PATCH v2 09/15] ia64: " Uwe Kleine-König
2012-03-30 20:04     ` Uwe Kleine-König
2012-03-30 20:05   ` [PATCH v2 10/15] powerpc: " Uwe Kleine-König
2012-03-30 20:05     ` Uwe Kleine-König
2012-03-30 20:05   ` [PATCH v2 11/15] gpio/samsung: " Uwe Kleine-König
2012-03-30 20:05   ` [PATCH v2 12/15] ide: " Uwe Kleine-König
2012-03-30 20:05   ` [PATCH v2 13/15] media/video/s5p-tv: " Uwe Kleine-König
2012-03-30 20:05     ` Uwe Kleine-König
2012-03-30 20:05   ` [PATCH v2 14/15] drivers/x86: " Uwe Kleine-König
2012-03-30 20:05   ` [PATCH v2 15/15] kstrtox: " Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120329211131.GA31250@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=akpm@linux-foundation.org \
    --cc=andrew@lunn.ch \
    --cc=benh@kernel.crashing.org \
    --cc=cl@linux-foundation.org \
    --cc=dwalker@fifo99.com \
    --cc=grant.likely@secretlab.ca \
    --cc=guenter.roeck@ericsson.com \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=kgene.kim@samsung.com \
    --cc=khilman@ti.com \
    --cc=klaus.kudielka@ieee.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux@arm.linux.org.uk \
    --cc=lm-sensors@lm-sensors.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=mporter@kernel.crashing.org \
    --cc=nicolas.ferre@atmel.com \
    --cc=nsekhar@ti.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    --cc=sameo@linux.intel.c \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.