From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: make of_device_ids const
Date: Thu, 19 Feb 2015 09:07:30 +0100 [thread overview]
Message-ID: <7609298.ZvCtgk2my8@wuerfel> (raw)
In-Reply-To: <CAGUYZuREm+XAO7mD0gxeSftStxUOADHmoZ2ngcKp218FaKOeGw@mail.gmail.com>
On Thursday 19 February 2015 10:44:49 sanjeev sharma wrote:
> On Thu, Feb 19, 2015 at 2:07 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> > On Wednesday 18 February 2015 21:19:56 Uwe Kleine-K?nig wrote:
> >> of_device_ids (i.e. compatible strings and the respective data) are not
> >> supposed to change at runtime. All functions working with of_device_ids
> >> provided by <linux/of.h> work with const of_device_ids. So mark the
> >> non-const structs in arch/arm as const, too.
> >>
> >> While at it also add some __initconst annotations.
> >>
> >> Acked-by: Jason Cooper <jason@lakedameon.net>
> >> Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
> >
> > Applied to fixes branch, thanks!
> >
> > Arnd
>
> There are many places in driver also where this need to be fixed.I
> have submitted couple of patches listed below and waiting for the
> response.
>
> serial:imx make of_device_id array const
> pinctrl: freescale: make of_device_id array const
I'd suggest you send them again after the merge window. Maintainers
often miss patches coming in, or have a long backlog of patches
to look at.
Greg is usually very good at applying patches for the serial drivers
very quickly, but if he hasn't applied the patch within a week, it's
probably not on his radar any more.
For the pinctrl patches, I see that Linus Walleij picked up a couple
of them, and if he missed this one that was probably an oversight, so
just send him a ping or send the patch again with [PATCH RESEND] in
the subject.
Arnd
next prev parent reply other threads:[~2015-02-19 8:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-18 20:19 [PATCH] ARM: make of_device_ids const Uwe Kleine-König
2015-02-18 20:37 ` Arnd Bergmann
2015-02-19 5:14 ` sanjeev sharma
2015-02-19 8:07 ` Arnd Bergmann [this message]
[not found] ` <CAGUYZuSQuDcGxcG8JQ8kP34_U=ReQ-cYSPimQHNxMiaCNZzEZA@mail.gmail.com>
2015-02-20 8:38 ` Arnd Bergmann
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=7609298.ZvCtgk2my8@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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