The assembler in Fedora 37 complains: x86/syscall.c: Assembler messages: x86/syscall.c:93: Warning: no instruction mnemonic suffix given and no register operands; using default for `sysret' Add the "l" suffix here to make it silent. Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx> --- x86/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x86/syscall.c b/x86/syscall.c index b0df0720..402d3973 100644 --- a/x86/syscall.c +++ b/x86/syscall.c @@ -90,7 +90,7 @@ static void test_syscall_tf(void) asm volatile(" push %%rbp\n" " mov %%rsp, (%%rax)\n" // stack pointer for exception handler " pushf; pop %%rax\n" // expected by syscall32_target - " sysret\n" + " sysretl\n" "back_to_test:\n" " pop %%rbp" : [sysret_target] "+c"(rcx), [sp0] "+a" (rax) : -- 2.31.1