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 v2 00/15] mark const init data with __initconst instead of __initdata
Date: Fri, 30 Mar 2012 22:03:58 +0200 [thread overview]
Message-ID: <20120330200358.GV15647@pengutronix.de> (raw)
In-Reply-To: <20120329211131.GA31250@pengutronix.de>
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2012-03-30 20:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-29 21:11 [PATCH 00/17] mark const init data with __initconst instead of __initdata Uwe Kleine-König
2012-03-29 21:12 ` [PATCH 01/17] percpu: " Uwe Kleine-König
2012-03-30 9:59 ` [PATCH 00/17] " Uwe Kleine-König
2012-03-30 20:03 ` Uwe Kleine-König [this message]
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=20120330200358.GV15647@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=adobriyan@gmail.com \
--cc=agust@denx.de \
--cc=ajk@comnets.uni-bremen.de \
--cc=akpm@linux-foundation.org \
--cc=andrew@lunn.ch \
--cc=arnd@arndb.de \
--cc=baohua.song@csr.com \
--cc=benh@kernel.crashing.org \
--cc=bryanh@codeaurora.org \
--cc=cbe-oss-dev@lists.ozlabs.org \
--cc=cl@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=davidb@codeaurora.org \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=dhowells@redhat.com \
--cc=dwalker@fifo99.com \
--cc=dwmw2@infradead.org \
--cc=eric.y.miao@gmail.com \
--cc=fenghua.yu@intel.com \
--cc=galak@kernel.crashing.org \
--cc=grant.likely@secretlab.ca \
--cc=guenter.roeck@ericsson.com \
--cc=haojian.zhuang@gmail.com \
--cc=ibm-acpi-devel@lists.sourceforge.net \
--cc=ibm-acpi@hmh.eng.br \
--cc=jpr@f6fbb.org \
--cc=jreuter@yaina.de \
--cc=jwboyer@gmail.com \
--cc=kernel@pengutronix.de \
--cc=kernel@wantstofly.org \
--cc=kgene.kim@samsung.com \
--cc=khali@linux-fr.org \
--cc=khilman@ti.com \
--cc=klaus.kudielka@ieee.org \
--cc=kyungmin.park@samsung.com \
--cc=linus.walleij@linaro.org \
--cc=linus.walleij@stericsson.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-hams@vger.kernel.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=linux-mm@kvack.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=linux@maxim.org.za \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=lm-sensors@lm-sensors.org \
--cc=lucas.demarchi@profusion.mobi \
--cc=mchehab@infradead.org \
--cc=mjg59@srcf.ucam.org \
--cc=mporter@kernel.crashing.org \
--cc=netdev@vger.kernel.org \
--cc=nico@fluxnic.net \
--cc=nicolas.ferre@atmel.com \
--cc=nsekhar@ti.com \
--cc=paulus@samba.org \
--cc=plagnioj@jcrosoft.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=ralf@linux-mips.org \
--cc=rdunlap@xenotime.net \
--cc=sameo@linux.intel.com \
--cc=shawn.guo@linaro.org \
--cc=t.stanislaws@samsung.com \
--cc=tj@kernel.org \
--cc=tony.luck@intel.com \
--cc=tony@atomide.com \
--cc=ysato@users.sourceforge.jp \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).