um: Fix tag order in stub_32.h
authorJohannes Berg <johannes.berg@intel.com>
Tue, 23 Feb 2021 09:44:08 +0000 (10:44 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 15 Apr 2021 21:06:37 +0000 (23:06 +0200)
"static void inline" is the wrong way around, fix that.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 9f0b4807a44f ("um: rework userspace stubs to not hard-code stub location")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/x86/um/shared/sysdep/stub_32.h

index c3891c1..b95db9d 100644 (file)
@@ -77,7 +77,7 @@ static inline void trap_myself(void)
        __asm("int3");
 }
 
-static void inline remap_stack_and_trap(void)
+static inline void remap_stack_and_trap(void)
 {
        __asm__ volatile (
                "movl %%esp,%%ebx ;"