Skip to contentSkip to conversation

psci: Remove unneeded semicolon

PATCH Applied Yang Li 3 participants 3 messages Apr 29, 2021 – May 11, 2021 Power state coordination interface (psci)

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH v2 1/1 psci: Remove unneeded semicolon

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

---

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

 drivers/firmware/psci/psci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/psci/psci.c +1 -1
index 64344e8..6e7bac6 100644
@@ -138,7 +138,7 @@ static int psci_to_linux_errno(int errno)
 		return -EINVAL;
 	case PSCI_RET_DENIED:
 		return -EPERM;
-	};
+	}
 
 	return -EINVAL;
 }
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 2 lines · Yang Li

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
Signature · 1 line
Catalin
#2 lore raw
In reply to Yang Li
This patch was applied to soc/soc.git (refs/heads/for-next):

Hello:

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

Quoted 8 lines · 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

[...]

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