From: Brian Gerst Date: Fri, 14 Mar 2025 15:12:19 +0000 (-0400) Subject: x86/syscall: Remove stray semicolons X-Git-Tag: v6.15-rc1~216^2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=604939552231730c52b823b178e9080877b20851;p=thirdparty%2Fkernel%2Fstable.git x86/syscall: Remove stray semicolons No functional change. Suggested-by: Sohil Mehta Signed-off-by: Brian Gerst Signed-off-by: Ingo Molnar Reviewed-by: Sohil Mehta Cc: Andy Lutomirski Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Josh Poimboeuf Link: https://lore.kernel.org/r/20250314151220.862768-7-brgerst@gmail.com --- diff --git a/arch/x86/entry/syscall_32.c b/arch/x86/entry/syscall_32.c index 06b9df10f2f89..993d72504fc59 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 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 a05f7be8a0e2f..b6e68ea98b839 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 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 default: return __x64_sys_ni_syscall(regs); } -}; +} #endif static __always_inline bool do_syscall_x64(struct pt_regs *regs, int nr)