Skip to contentSkip to conversation

x86/srso: Remove unneeded semicolon

PATCH Applied Yang Li 2 participants 3 messages Aug 10, 2023 – Oct 20, 2023

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 x86/srso: Remove unneeded semicolon

./arch/x86/kernel/cpu/bugs.c:713:2-3: Unneeded semicolon

---
 arch/x86/kernel/cpu/bugs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/bugs.c +1 -1
index d02f73c5339d..7b29036130a1 100644
@@ -710,7 +710,7 @@ void update_gds_msr(void)
 	case GDS_MITIGATION_UCODE_NEEDED:
 	case GDS_MITIGATION_HYPERVISOR:
 		return;
-	};
+	}
 
 	wrmsrl(MSR_IA32_MCU_OPT_CTRL, mcu_ctrl);
 
Signature · 1 line
2.20.1.7.g153144c
merge bot Applied
#1 lore raw

[tip: x86/bugs] x86/srso: Remove unnecessary semicolon

The following commit has been merged into the x86/bugs branch of tip:

The following commit has been merged into the x86/bugs branch of tip:

Commit-ID:     5c44836dd1451c754c58cea5179d2fa5cbd9fc85
Gitweb:        https://git.kernel.org/tip/5c44836dd1451c754c58cea5179d2fa5cbd9fc85
Author:        Yang Li <[email protected]>
AuthorDate:    Thu, 10 Aug 2023 09:05:50 +08:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Thu, 28 Sep 2023 23:28:21 +02:00

x86/srso: Remove unnecessary semicolon

scripts/coccinelle/misc/semicolon.cocci reports:

arch/x86/kernel/cpu/bugs.c:713:2-3: Unneeded semicolon

---
 arch/x86/kernel/cpu/bugs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/bugs.c +1 -1
index 016a326..bb0ab84 100644
@@ -717,7 +717,7 @@ void update_gds_msr(void)
 	case GDS_MITIGATION_UCODE_NEEDED:
 	case GDS_MITIGATION_HYPERVISOR:
 		return;
-	};
+	}
 
 	wrmsrl(MSR_IA32_MCU_OPT_CTRL, mcu_ctrl);
 
merge bot Applied
#2 lore raw

[tip: x86/bugs] x86/srso: Remove unnecessary semicolon

In reply to Yang Li
The following commit has been merged into the x86/bugs branch of tip:

The following commit has been merged into the x86/bugs branch of tip:

Commit-ID:     904e1ddd0b31dc341f6af09e1558589f50b3d04d
Gitweb:        https://git.kernel.org/tip/904e1ddd0b31dc341f6af09e1558589f50b3d04d
Author:        Yang Li <[email protected]>
AuthorDate:    Thu, 10 Aug 2023 09:05:50 +08:00
Committer:     Borislav Petkov (AMD) <[email protected]>
CommitterDate: Fri, 20 Oct 2023 12:50:35 +02:00

x86/srso: Remove unnecessary semicolon

scripts/coccinelle/misc/semicolon.cocci reports:

arch/x86/kernel/cpu/bugs.c:713:2-3: Unneeded semicolon

---
 arch/x86/kernel/cpu/bugs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/cpu/bugs.c +1 -1
index 016a326..bb0ab84 100644
@@ -717,7 +717,7 @@ void update_gds_msr(void)
 	case GDS_MITIGATION_UCODE_NEEDED:
 	case GDS_MITIGATION_HYPERVISOR:
 		return;
-	};
+	}
 
 	wrmsrl(MSR_IA32_MCU_OPT_CTRL, mcu_ctrl);