diff options
author | Brian Gerst <brgerst@gmail.com> | 2023-07-21 18:10:15 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-10-05 10:06:42 +0200 |
commit | 0d3109ad2e6125add5b3c88e8de3fb7bfd4e8c49 (patch) | |
tree | 1cd8a25a44400156019c1eff4f0bfc43d17f7741 /arch/x86/entry/entry_32.S | |
parent | x86/entry/compat: Combine return value test from syscall handler (diff) | |
download | linux-0d3109ad2e6125add5b3c88e8de3fb7bfd4e8c49.tar.xz linux-0d3109ad2e6125add5b3c88e8de3fb7bfd4e8c49.zip |
x86/entry/32: Convert do_fast_syscall_32() to bool return type
Doesn't have to be 'long' - this simplifies the code a bit.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230721161018.50214-5-brgerst@gmail.com
Diffstat (limited to 'arch/x86/entry/entry_32.S')
-rw-r--r-- | arch/x86/entry/entry_32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/entry_32.S b/arch/x86/entry/entry_32.S index 6e6af42e044a..c73047bf9f4b 100644 --- a/arch/x86/entry/entry_32.S +++ b/arch/x86/entry/entry_32.S @@ -837,7 +837,7 @@ SYM_FUNC_START(entry_SYSENTER_32) movl %esp, %eax call do_SYSENTER_32 - testl %eax, %eax + testb %al, %al jz .Lsyscall_32_done STACKLEAK_ERASE |