[PATCH 2/4] UML -

From: Jeff Dike
Date: Mon Aug 15 2005 - 18:37:55 EST


>From Al Viro:

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

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>

Index: linux-2.6.13-rc6/arch/um/include/sysdep-x86_64/ptrace.h
===================================================================
--- linux-2.6.13-rc6.orig/arch/um/include/sysdep-x86_64/ptrace.h 2005-06-17 15:48:29.000000000 -0400
+++ linux-2.6.13-rc6/arch/um/include/sysdep-x86_64/ptrace.h 2005-08-15 13:32:57.000000000 -0400
@@ -227,7 +227,7 @@
panic("Bad register in UPT_SET : %d\n", reg); \
break; \
} \
- val; \
+ __upt_val; \
})

#define UPT_SET_SYSCALL_RETURN(r, res) \

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/