From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] drivers: firmware: psci: drop duplicate const from psci_of_match
Date: Wed, 20 Apr 2016 11:30:17 +0100 [thread overview]
Message-ID: <20160420103016.GB11453@leverpostej> (raw)
In-Reply-To: <1461147628-22844-1-git-send-email-lorenzo.pieralisi@arm.com>
On Wed, Apr 20, 2016 at 11:20:27AM +0100, Lorenzo Pieralisi wrote:
> From: Jisheng Zhang <jszhang@marvell.com>
>
> This is to fix below sparse warning:
> drivers/firmware/psci.c:mmm:nn: warning: duplicate const
>
> Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
FWIW, for both:
Acked-by: Mark Rutland <mark.rutland@arm.com>
Thanks for picking them up!
Mark.
> ---
> drivers/firmware/psci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c
> index 11bfee8..0ab477ba 100644
> --- a/drivers/firmware/psci.c
> +++ b/drivers/firmware/psci.c
> @@ -563,7 +563,7 @@ out_put_node:
> return err;
> }
>
> -static const struct of_device_id const psci_of_match[] __initconst = {
> +static const struct of_device_id psci_of_match[] __initconst = {
> { .compatible = "arm,psci", .data = psci_0_1_init},
> { .compatible = "arm,psci-0.2", .data = psci_0_2_init},
> { .compatible = "arm,psci-1.0", .data = psci_0_2_init},
> --
> 2.6.4
>
prev parent reply other threads:[~2016-04-20 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-20 10:20 [PATCH 1/2] drivers: firmware: psci: drop duplicate const from psci_of_match Lorenzo Pieralisi
2016-04-20 10:20 ` [PATCH 2/2] drivers: firmware: psci: make two helper functions static Lorenzo Pieralisi
2016-04-25 21:48 ` Arnd Bergmann
2016-04-20 10:30 ` Mark Rutland [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=20160420103016.GB11453@leverpostej \
--to=mark.rutland@arm.com \
--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