From: Will Deacon <will.deacon@arm.com>
To: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: mark.rutland@arm.com, peterz@infradead.org, mingo@redhat.com,
acme@kernel.org, alexander.shishkin@linux.intel.com,
linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm: perf: make of_device_ids const
Date: Tue, 27 Jun 2017 09:39:58 +0100 [thread overview]
Message-ID: <20170627083958.GB5759@arm.com> (raw)
In-Reply-To: <3838e744e5fb337a55a047661d682f67442c016a.1498542886.git.arvind.yadav.cs@gmail.com>
On Tue, Jun 27, 2017 at 11:42:21AM +0530, Arvind Yadav wrote:
> of_device_ids 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 as const.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
> ---
> arch/arm/kernel/perf_event_v6.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
This is already queued in -next.
Will
next prev parent reply other threads:[~2017-06-27 8:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-27 6:12 [PATCH] arm: perf: make of_device_ids const Arvind Yadav
2017-06-27 8:39 ` Will Deacon [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-06-15 9:25 Arvind Yadav
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=20170627083958.GB5759@arm.com \
--to=will.deacon@arm.com \
--cc=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=arvind.yadav.cs@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=peterz@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