From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata Date: Thu, 29 Mar 2012 23:11:31 +0200 Message-ID: <20120329211131.GA31250@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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 To: linux-kernel@vger.kernel.org, Andrew Morton 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 List-Id: linux-arm-msm@vger.kernel.org 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 =3D. Note this series is not compile tested. Best regards 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/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata Date: Thu, 29 Mar 2012 23:11:31 +0200 Message-ID: <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 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, 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. Best regards 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/ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 29 Mar 2012 23:14:03 +0200 (CEST) Received: from metis.ext.pengutronix.de ([92.198.50.35]:57123 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1903692Ab2C2VN4 (ORCPT ); Thu, 29 Mar 2012 23:13:56 +0200 Received: from dude.hi.pengutronix.de ([2001:6f8:1178:2:21e:67ff:fe11:9c5c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SDMdX-0007pY-6j; Thu, 29 Mar 2012 23:12:03 +0200 Received: from ukl by dude.hi.pengutronix.de with local (Exim 4.77) (envelope-from ) id 1SDMd1-00088m-Gz; Thu, 29 Mar 2012 23:11:31 +0200 Date: Thu, 29 Mar 2012 23:11:31 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= 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 Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata Message-ID: <20120329211131.GA31250@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 2001:6f8:1178:2:21e:67ff:fe11:9c5c X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-mips@linux-mips.org X-archive-position: 32821 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ukl@pengutronix.de Precedence: bulk X-list: linux-mips Return-Path: 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/ | From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx143.postini.com [74.125.245.143]) by kanga.kvack.org (Postfix) with SMTP id 70C396B004A for ; Thu, 29 Mar 2012 17:12:51 -0400 (EDT) Date: Thu, 29 Mar 2012 23:11:31 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata Message-ID: <20120329211131.GA31250@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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, 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: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from metis.ext.pengutronix.de (unknown [IPv6:2001:6f8:1178:4:290:27ff:fe1d:cc33]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B4E60B6EF3 for ; Fri, 30 Mar 2012 08:13:10 +1100 (EST) Date: Thu, 29 Mar 2012 23:11:31 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: linux-kernel@vger.kernel.org, Andrew Morton Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata Message-ID: <20120329211131.GA31250@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Andrew Lunn , Christoph Lameter , linux-mips@linux-mips.org, Tony Lindgren , Linus Walleij , Nicolas Ferre , Matthew Garrett , platform-driver-x86@vger.kernel.org, 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 , Yoshinori Sato , Lennert Buytenhek , Kyungmin Park , David Brown , Anatolij Gustschin , Jean-Christophe Plagniol-Villard , Alexey Dobriyan , Joerg Reuter , linux-media@vger.kernel.org, cbe-oss-dev@lists.ozlabs.org, Fenghua Yu , Arnd Bergmann , Tony Luck , Lucas De Marchi , linux-arm-msm@vger.kernel.org, Andreas Koensgen , Henrique de Moraes Holschuh , Haojian Zhuang , Mauro Carvalho Chehab , Tejun Heo , linux-samsung-soc@vger.kernel.org, linux-mm@kvack.org, Barry Song , linux-hams@vger.kernel.org, linux-omap@vger.kernel.org, Andrew Victor , linux-arm-kernel@lists.infradead.org, David Howells , davinci-linux-open-source@linux.davincidsp.com, Jean-Paul Roubelat , Eric Miao , Linus Walleij , linux-ide@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Nicolas Pitre , Ralf Baechle , Tomasz Stanislawski , Bryan Huntsman , Sascha Hauer , netdev@vger.kernel.org, Jean Delvare , Paul Mackerras , Shawn Guo , David Woodhouse , "David S. Miller" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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/ | From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by casper.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SDMeR-0003zS-CI for linux-mtd@lists.infradead.org; Thu, 29 Mar 2012 21:13:00 +0000 Date: Thu, 29 Mar 2012 23:11:31 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: linux-kernel@vger.kernel.org, Andrew Morton Subject: [PATCH 00/17] mark const init data with __initconst instead of __initdata Message-ID: <20120329211131.GA31250@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 , Yoshinori Sato , Kumar Gala , Lennert Buytenhek , Kyungmin Park , David Brown , Anatolij Gustschin , Jean-Christophe Plagniol-Villard , Alexey Dobriyan , Joerg Reuter , linux-media@vger.kernel.org, cbe-oss-dev@lists.ozlabs.org, Fenghua Yu , Arnd Bergmann , Tony Luck , Lucas De Marchi , linux-arm-msm@vger.kernel.org, Andreas Koensgen , Henrique de Moraes Holschuh , Haojian Zhuang , Mauro Carvalho Chehab , Tejun Heo , linux-samsung-soc@vger.kernel.org, linux-mm@kvack.org, Barry Song , linux-hams@vger.kernel.org, linux-omap@vger.kernel.org, Andrew Victor , linux-arm-kernel@lists.infradead.org, David Howells , davinci-linux-open-source@linux.davincidsp.com, Jean-Paul Roubelat , Eric Miao , Linus Walleij , linux-ide@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Nicolas Pitre , Ralf Baechle , Tomasz Stanislawski , Bryan Huntsman , Sascha Hauer , netdev@vger.kernel.org, Jean Delvare , Paul Mackerras , Josh Boyer , Shawn Guo , David Woodhouse , "David S. Miller" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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/ | From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Date: Thu, 29 Mar 2012 21:11:31 +0000 Subject: [lm-sensors] [PATCH 00/17] mark const init data with __initconst instead of __initdata Message-Id: <20120329211131.GA31250@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-kernel@vger.kernel.org, Andrew Morton 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 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 =3D. Note this series is not compile tested. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | 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