* [PATCH] firmware: psci: Remove unneeded semicolon
@ 2021-04-28 3:03 Wan Jiabing
2021-04-28 9:46 ` Lorenzo Pieralisi
0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-04-28 3:03 UTC (permalink / raw)
To: Mark Rutland, Lorenzo Pieralisi, linux-arm-kernel, linux-kernel
Cc: kael_w, Wan Jiabing
Fix the following coccicheck warning:
./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon
Signed-off-by: Wan Jiabing <wanjiabing@vivo.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 64344e84bd63..6e7bac61ba93 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;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] firmware: psci: Remove unneeded semicolon
2021-04-28 3:03 [PATCH] firmware: psci: Remove unneeded semicolon Wan Jiabing
@ 2021-04-28 9:46 ` Lorenzo Pieralisi
0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Pieralisi @ 2021-04-28 9:46 UTC (permalink / raw)
To: Wan Jiabing; +Cc: Mark Rutland, linux-arm-kernel, linux-kernel, kael_w
On Wed, Apr 28, 2021 at 11:03:24AM +0800, Wan Jiabing wrote:
> Fix the following coccicheck warning:
>
> ./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
> drivers/firmware/psci/psci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Fixed by a previous posting:
https://lore.kernel.org/lkml/1612247872-32603-1-git-send-email-yang.lee@linux.alibaba.com
Thank you anyway.
Lorenzo
>
> diff --git a/drivers/firmware/psci/psci.c b/drivers/firmware/psci/psci.c
> index 64344e84bd63..6e7bac61ba93 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;
> }
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-28 9:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 3:03 [PATCH] firmware: psci: Remove unneeded semicolon Wan Jiabing
2021-04-28 9:46 ` Lorenzo Pieralisi
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).