]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
x86/syscall: Remove stray semicolons
authorBrian Gerst <brgerst@gmail.com>
Fri, 14 Mar 2025 15:12:19 +0000 (11:12 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:19:18 +0000 (11:19 +0100)
No functional change.

Suggested-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20250314151220.862768-7-brgerst@gmail.com
arch/x86/entry/syscall_32.c
arch/x86/entry/syscall_64.c

index 06b9df10f2f899201ffd68cd515a1b10c888b70e..993d72504fc590503024cbeb7e7796fb48ff8557 100644 (file)
@@ -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)
 {
index a05f7be8a0e2f4e2e7167ff88f66711000e65cfb..b6e68ea98b839ac9c6b564c085190b2627a17265 100644 (file)
@@ -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)