All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] psci: Remove unneeded semicolon
@ 2021-04-29  1:26 ` Yang Li
  0 siblings, 0 replies; 5+ messages in thread
From: Yang Li @ 2021-04-29  1:26 UTC (permalink / raw)
  To: lorenzo.pieralisi
  Cc: mark.rutland, sudeep.holla, linux-arm-kernel, linux-kernel, arm,
	soc, Yang Li

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>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
---

Change in v2:
--subject should read "psci: Remove unneeded semicolon"

 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 64344e8..6e7bac6 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


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

* [PATCH v2] psci: Remove unneeded semicolon
@ 2021-04-29  1:26 ` Yang Li
  0 siblings, 0 replies; 5+ messages in thread
From: Yang Li @ 2021-04-29  1:26 UTC (permalink / raw)
  To: lorenzo.pieralisi
  Cc: mark.rutland, sudeep.holla, linux-arm-kernel, linux-kernel, arm,
	soc, Yang Li

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>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
---

Change in v2:
--subject should read "psci: Remove unneeded semicolon"

 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 64344e8..6e7bac6 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] 5+ messages in thread

* Re: [PATCH v2] psci: Remove unneeded semicolon
@ 2021-04-30 17:58   ` Catalin Marinas
  0 siblings, 0 replies; 5+ messages in thread
From: Catalin Marinas @ 2021-04-30 17:58 UTC (permalink / raw)
  To: Yang Li, lorenzo.pieralisi
  Cc: Will Deacon, soc, sudeep.holla, linux-arm-kernel, arm,
	linux-kernel, mark.rutland

On Thu, 29 Apr 2021 09:26:29 +0800, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon

Applied to arm64 (for-next/core), thanks!

[1/1] psci: Remove unneeded semicolon
      https://git.kernel.org/arm64/c/9b924f4f0d8f

-- 
Catalin


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

* Re: [PATCH v2] psci: Remove unneeded semicolon
@ 2021-04-30 17:58   ` Catalin Marinas
  0 siblings, 0 replies; 5+ messages in thread
From: Catalin Marinas @ 2021-04-30 17:58 UTC (permalink / raw)
  To: Yang Li, lorenzo.pieralisi
  Cc: Will Deacon, soc, sudeep.holla, linux-arm-kernel, arm,
	linux-kernel, mark.rutland

On Thu, 29 Apr 2021 09:26:29 +0800, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/firmware/psci/psci.c:141:2-3: Unneeded semicolon

Applied to arm64 (for-next/core), thanks!

[1/1] psci: Remove unneeded semicolon
      https://git.kernel.org/arm64/c/9b924f4f0d8f

-- 
Catalin


_______________________________________________
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] 5+ messages in thread

* Re: [PATCH v2] psci: Remove unneeded semicolon
  2021-04-29  1:26 ` Yang Li
  (?)
  (?)
@ 2021-05-11  8:09 ` patchwork-bot+linux-soc
  -1 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+linux-soc @ 2021-05-11  8:09 UTC (permalink / raw)
  To: Yang Li; +Cc: soc

Hello:

This patch was applied to soc/soc.git (refs/heads/for-next):

On Thu, 29 Apr 2021 09:26:29 +0800 you wrote:
> 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>
> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> 
> [...]

Here is the summary with links:
  - [v2] psci: Remove unneeded semicolon
    https://git.kernel.org/soc/soc/c/9b924f4f0d8f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2021-05-11  8:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29  1:26 [PATCH v2] psci: Remove unneeded semicolon Yang Li
2021-04-29  1:26 ` Yang Li
2021-04-30 17:58 ` Catalin Marinas
2021-04-30 17:58   ` Catalin Marinas
2021-05-11  8:09 ` patchwork-bot+linux-soc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.