Skip to content

Commit

Permalink
[PATCH] uml: fix a macro typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 5, 2005
1 parent e54a5df commit 7efd08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/um/include/sysdep-x86_64/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 7efd08c

Please sign in to comment.