1
linux/include/trace
Jeremy Fitzhardinge 76aa81118d tracing: avoid warnings from zero-arg tracepoints
Tracepoints with no arguments can issue two warnings:

	"field" defined by not used
	"ret" is uninitialized in this function

Mark field as being OK to leave unused, and initialize ret.

[ Impact: fix false positive compiler warnings. ]

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: mathieu.desnoyers@polymtl.ca
LKML-Reference: <1239950139-1119-5-git-send-email-jeremy@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-04-17 17:52:26 +02:00
..
events tracing/events: move trace point headers into include/trace/events 2009-04-14 22:05:43 -04:00
block.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00
boot.h tracing/fastboot: include missing headers 2008-12-12 09:26:13 +01:00
define_trace.h tracing/events: move trace point headers into include/trace/events 2009-04-14 22:05:43 -04:00
ftrace.h tracing: avoid warnings from zero-arg tracepoints 2009-04-17 17:52:26 +02:00
kmem_event_types.h tracing, kmemtrace: Make kmem tracepoints use TRACE_EVENT macro 2009-04-12 15:22:56 +02:00
power.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00
syscall.h tracing/syscalls: use a dedicated file header 2009-04-09 05:43:32 +02:00
workqueue.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00