From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx137.postini.com [74.125.245.137]) by kanga.kvack.org (Postfix) with SMTP id 99D676B0044 for ; Fri, 30 Mar 2012 16:04:57 -0400 (EDT) Date: Fri, 30 Mar 2012 22:03:58 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: [PATCH v2 00/15] mark const init data with __initconst instead of __initdata Message-ID: <20120330200358.GV15647@pengutronix.de> References: <20120329211131.GA31250@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120329211131.GA31250@pengutronix.de> Sender: owner-linux-mm@kvack.org List-ID: To: linux-kernel@vger.kernel.org, Andrew Morton Cc: Alexey Dobriyan , Anatolij Gustschin , Andreas Koensgen , Andrew Lunn , Andrew Victor , Arnd Bergmann , Barry Song , Benjamin Herrenschmidt , Bryan Huntsman , cbe-oss-dev@lists.ozlabs.org, Christoph Lameter , Daniel Walker , David Brown , David Howells , "David S. Miller" , David Woodhouse , davinci-linux-open-source@linux.davincidsp.com, Eric Miao , Fenghua Yu , Grant Likely , Guenter Roeck , Haojian Zhuang , Henrique de Moraes Holschuh , ibm-acpi-devel@lists.sourceforge.net, 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@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 , Matthew Garrett , Matt Porter , Mauro Carvalho Chehab , netdev@vger.kernel.org, Nicolas Ferre , Nicolas Pitre , Paul Mackerras , platform-driver-x86@vger.kernel.org, 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, On Thu, Mar 29, 2012 at 11:11:31PM +0200, Uwe Kleine-Ki? 1/2 nig 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 =. > > 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-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: email@kvack.org