From: olof@lixom•net (Olof Johansson)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v3] ARM: appropriate __init annotation for const data
Date: Tue, 28 Jul 2015 13:56:06 +0200 [thread overview]
Message-ID: <20150728115606.GA21866@localhost> (raw)
In-Reply-To: <alpine.LFD.2.20.1507271750160.1806@knanqh.ubzr>
On Mon, Jul 27, 2015 at 06:27:52PM -0400, Nicolas Pitre wrote:
>
> Init data marked const should be annotated with __initconst for
> correctness and not __initdata. In some cases the array gathering
> references to that data has to be marked const as well. This fixes
> LTO builds that otherwise fail with section mismatch errors.
>
> Signed-off-by: Nicolas Pitre <nico@linaro•org>
This passed through the builder here as well. I've applied it to
next/cleanup for 4.3. Thanks!
-Olof
next prev parent reply other threads:[~2015-07-28 11:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-27 22:27 [PATCH v3] ARM: appropriate __init annotation for const data Nicolas Pitre
2015-07-28 11:56 ` Olof Johansson [this message]
2015-08-11 9:45 ` Russell King - ARM Linux
2015-08-11 12:16 ` Nicolas Pitre
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=20150728115606.GA21866@localhost \
--to=olof@lixom$(echo .)net \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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