From 604939552231730c52b823b178e9080877b20851 Mon Sep 17 00:00:00 2001 From: Brian Gerst Date: Fri, 14 Mar 2025 11:12:19 -0400 Subject: [PATCH] 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 --- 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 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) -- 2.50.1