linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] psci: remove unneeded semicolon
@ 2021-02-02  6:37 Yang Li
  2021-04-28  9:41 ` Lorenzo Pieralisi
  0 siblings, 1 reply; 3+ messages in thread
From: Yang Li @ 2021-02-02  6:37 UTC (permalink / raw)
  To: mark.rutland; +Cc: lorenzo.pieralisi, Yang Li, linux-kernel, linux-arm-kernel

Eliminate the following coccicheck warning:
./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/firmware/psci/psci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/psci/psci.c b/drivers/firmware/psci/psci.c
index f5fc429..35b355e 100644
--- a/drivers/firmware/psci/psci.c
+++ b/drivers/firmware/psci/psci.c
@@ -138,7 +138,7 @@ static int psci_to_linux_errno(int errno)
 		return -EINVAL;
 	case PSCI_RET_DENIED:
 		return -EPERM;
-	};
+	}
 
 	return -EINVAL;
 }
-- 
1.8.3.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] psci: remove unneeded semicolon
  2021-02-02  6:37 [PATCH] psci: remove unneeded semicolon Yang Li
@ 2021-04-28  9:41 ` Lorenzo Pieralisi
  2021-04-28  9:54   ` Sudeep Holla
  0 siblings, 1 reply; 3+ messages in thread
From: Lorenzo Pieralisi @ 2021-04-28  9:41 UTC (permalink / raw)
  To: Yang Li; +Cc: mark.rutland, linux-arm-kernel, linux-kernel, arm

On Tue, Feb 02, 2021 at 02:37:52PM +0800, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon

Nit: subject should read "psci: Remove unneeded semicolon"

> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/firmware/psci/psci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Please send a v2 and address it to Mark, me and arm@kernel.org so
that they can pick it up.

Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>

> diff --git a/drivers/firmware/psci/psci.c b/drivers/firmware/psci/psci.c
> index f5fc429..35b355e 100644
> --- a/drivers/firmware/psci/psci.c
> +++ b/drivers/firmware/psci/psci.c
> @@ -138,7 +138,7 @@ static int psci_to_linux_errno(int errno)
>  		return -EINVAL;
>  	case PSCI_RET_DENIED:
>  		return -EPERM;
> -	};
> +	}
>  
>  	return -EINVAL;
>  }
> -- 
> 1.8.3.1
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] psci: remove unneeded semicolon
  2021-04-28  9:41 ` Lorenzo Pieralisi
@ 2021-04-28  9:54   ` Sudeep Holla
  0 siblings, 0 replies; 3+ messages in thread
From: Sudeep Holla @ 2021-04-28  9:54 UTC (permalink / raw)
  To: Yang Li, Lorenzo Pieralisi
  Cc: mark.rutland, linux-arm-kernel, linux-kernel, arm

On Wed, Apr 28, 2021 at 10:41:30AM +0100, Lorenzo Pieralisi wrote:
> On Tue, Feb 02, 2021 at 02:37:52PM +0800, Yang Li wrote:
> > Eliminate the following coccicheck warning:
> > ./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon
> 
> Nit: subject should read "psci: Remove unneeded semicolon"
> 
> > Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> > ---
> >  drivers/firmware/psci/psci.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Please send a v2 and address it to Mark, me and arm@kernel.org so
> that they can pick it up.
> 

Though I assume they still check arm@kernel.org, soc@kernel.org is new
and more preferred these days. I just checked MAINTAINERS entry to be
sure and I see only soc@kernel.org. So please add soc@kernel.org to the
list, may be it gets quicker attention than the other 😄.

-- 
Regards,
Sudeep

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-28  9:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02  6:37 [PATCH] psci: remove unneeded semicolon Yang Li
2021-04-28  9:41 ` Lorenzo Pieralisi
2021-04-28  9:54   ` Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).