Skip to contentSkip to conversation

psci: remove unneeded semicolon

PATCH In review Yang Li 3 participants 3 messages Feb 2, 2021 – Apr 28, 2021 Power state coordination interface (psci)

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 psci: remove unneeded semicolon

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

---
 drivers/firmware/psci/psci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/psci/psci.c +1 -1
index f5fc429..35b355e 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
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Yang Li

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

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

Quoted 5 lines
---
 drivers/firmware/psci/psci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Please send a v2 and address it to Mark, me and [email protected] so that they can pick it up.

Quoted 16 lines
drivers/firmware/psci/psci.c +1 -1
index f5fc429..35b355e 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
#2 lore raw
Quoted 6 lines · Lorenzo Pieralisi
Quoted 2 lines · Yang Li

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

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

Quoted 9 lines
Quoted 5 lines
---
 drivers/firmware/psci/psci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Please send a v2 and address it to Mark, me and [email protected] so that they can pick it up.

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

Signature · 2 lines
Regards,
Sudeep