Skip to contentSkip to conversation

UML -

PATCH New Jeff Dike 1 participant 1 message Aug 15, 2005 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 2/4 UML -

Quoted 1 line

From Al Viro:

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

arch/um/include/sysdep-x86_64/ptrace.h +1 -1
Index: linux-2.6.13-rc6/arch/um/include/sysdep-x86_64/ptrace.h
===================================================================
@@ -227,7 +227,7 @@
                         panic("Bad register in UPT_SET : %d\n", reg);  \
 			break; \
                 } \
-                val; \
+                __upt_val; \
         })
 
 #define UPT_SET_SYSCALL_RETURN(r, res) \