Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1383242 > unrolled thread

Re: [PATCH RESEND] drivers: firmware: psci: drop duplicate const from psci_of_match

Started byLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
First post2016-04-20 12:20 +0200
Last post2016-04-20 12:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH RESEND] drivers: firmware: psci: drop duplicate const  from psci_of_match Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-04-20 12:20 +0200

#1383242 — Re: [PATCH RESEND] drivers: firmware: psci: drop duplicate const from psci_of_match

FromLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Date2016-04-20 12:20 +0200
SubjectRe: [PATCH RESEND] drivers: firmware: psci: drop duplicate const from psci_of_match
Message-ID<rpXoK-6gl-11@gated-at.bofh.it>
On Tue, Mar 22, 2016 at 10:45:46PM +0800, Jisheng Zhang wrote:
> This is to fix below sparse warning:
> drivers/firmware/psci.c:mmm:nn: warning: duplicate const
> 
> Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
> ---
>  drivers/firmware/psci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I am sending it to arm-soc to merge it.

Thanks,
Lorenzo

> 
> diff --git a/drivers/firmware/psci.c b/drivers/firmware/psci.c
> index d24f35d..ae70d24 100644
> --- a/drivers/firmware/psci.c
> +++ b/drivers/firmware/psci.c
> @@ -424,7 +424,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.2
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web