The following commit has been merged into the x86/cpu branch of tip: Commit-ID: 11743519c8c82a8a08552337168bdc6561ea0165 Gitweb: https://git.kernel.org/tip/11743519c8c82a8a08552337168bdc6561ea0165 Author: Brian Gerst <brgerst@xxxxxxxxx> AuthorDate: Fri, 14 Mar 2025 11:12:19 -04:00 Committer: Ingo Molnar <mingo@xxxxxxxxxx> CommitterDate: Sun, 16 Mar 2025 11:49:42 +01:00 x86/syscall: Remove stray semicolons No functional change. Suggested-by: Sohil Mehta <sohil.mehta@xxxxxxxxx> Signed-off-by: Brian Gerst <brgerst@xxxxxxxxx> Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx> Reviewed-by: Sohil Mehta <sohil.mehta@xxxxxxxxx> Cc: Andy Lutomirski <luto@xxxxxxxxxx> Cc: H. Peter Anvin <hpa@xxxxxxxxx> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx> Link: https://lore.kernel.org/r/20250314151220.862768-7-brgerst@xxxxxxxxx --- arch/x86/entry/syscall_32.c | 2 +- arch/x86/entry/syscall_64.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/entry/syscall_32.c b/arch/x86/entry/syscall_32.c index 06b9df1..993d725 100644 --- a/arch/x86/entry/syscall_32.c +++ b/arch/x86/entry/syscall_32.c @@ -47,7 +47,7 @@ long ia32_sys_call(const struct pt_regs *regs, unsigned int nr) #include <asm/syscalls_32.h> default: return __ia32_sys_ni_syscall(regs); } -}; +} static __always_inline int syscall_32_enter(struct pt_regs *regs) { diff --git a/arch/x86/entry/syscall_64.c b/arch/x86/entry/syscall_64.c index a05f7be..b6e68ea 100644 --- a/arch/x86/entry/syscall_64.c +++ b/arch/x86/entry/syscall_64.c @@ -38,7 +38,7 @@ long x64_sys_call(const struct pt_regs *regs, unsigned int nr) #include <asm/syscalls_64.h> default: return __x64_sys_ni_syscall(regs); } -}; +} #ifdef CONFIG_X86_X32_ABI long x32_sys_call(const struct pt_regs *regs, unsigned int nr) @@ -47,7 +47,7 @@ long x32_sys_call(const struct pt_regs *regs, unsigned int nr) #include <asm/syscalls_x32.h> default: return __x64_sys_ni_syscall(regs); } -}; +} #endif static __always_inline bool do_syscall_x64(struct pt_regs *regs, int nr)
![]() |