From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: [PATCH v2 00/15] mark const init data with __initconst instead of __initdata Date: Fri, 30 Mar 2012 22:03:58 +0200 Message-ID: <20120330200358.GV15647@pengutronix.de> References: <20120329211131.GA31250@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: Andrew Lunn , Christoph Lameter , linux-mips@linux-mips.org, Tony Lindgren , Benjamin Herrenschmidt , Linus Walleij , Matt Porter , Nicolas Ferre , Matthew Garrett , platform-driver-x86@vger.kernel.org, Grant Likely , ibm-acpi-devel@lists.sourceforge.net, Randy Dunlap , linux-mtd@lists.infradead.org, Sekhar Nori , Daniel Walker , lm-sensors@lm-sensors.org, Klaus Kudielka , Guenter Roeck , Kevin Hilman , linux-ia64@vger.kernel.org, Kukjin Kim , Russell King , Samuel Ortiz Return-path: Content-Disposition: inline In-Reply-To: <20120329211131.GA31250@pengutronix.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+gldm-linux-mtd-36=gmane.org@lists.infradead.org List-Id: netdev.vger.kernel.org Hello, On Thu, Mar 29, 2012 at 11:11:31PM +0200, Uwe Kleine-K=F6nig wrote: > 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 =3D. > = > Note this series is not compile tested. I now dropped the wrong annotations. So two patches became obsolete (mtd and percpu). Note that I also dropped fixing the position of __initdata if changing it to __initconst was wrong. (I think if __initdata is placed before the variable name it doesn't have any effect.) I didn't promote the Acks I got because all acked changes changed in v2. For the details changed in each patch see the changelogs in the respective patch mails that I follow up to this mail. Thanks Uwe -- = Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | http://www.pengutronix.de/ | ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/