tracing/events: protect __get_str()
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 21 Apr 2009 22:41:09 +0000 (00:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Apr 2009 10:30:49 +0000 (12:30 +0200)
commit6a74aa40907757ec98d8710ff66cd4cfe064e7d8
tree804f0043f9aa684dd00d4a0ef4f950c2da4d6550
parent7e7ca9a22dbbc5c91763cd16923c7509918709b6
tracing/events: protect __get_str()

The __get_str() macro is used in a code part then its content should be
protected with parenthesis.

[ Impact: make macro definition more robust ]

Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/trace/ftrace.h