linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] [PATCH 2/4] UML -
@ 2005-08-15 23:25 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2005-08-15 23:25 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, user-mode-linux-devel, Al Viro

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@addtoit.com>

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) \



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-15 23:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-15 23:25 [uml-devel] [PATCH 2/4] UML - Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox