Explorar o código

[PATCH] uml: fix a macro typo

Fix a macro typo which could break if the macro is passed arguments with
side-effects.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro %!s(int64=19) %!d(string=hai) anos
pai
achega
7efd08c855
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/um/include/sysdep-x86_64/ptrace.h

+ 1 - 1
arch/um/include/sysdep-x86_64/ptrace.h

@@ -227,7 +227,7 @@ struct syscall_args {
                         panic("Bad register in UPT_SET : %d\n", reg);  \
 			break; \
                 } \
-                val; \
+                __upt_val; \
         })
 
 #define UPT_SET_SYSCALL_RETURN(r, res) \