summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@kernel.org>2009-05-06 15:45:45 +0530
committerIngo Molnar <mingo@elte.hu>2009-05-06 14:19:16 +0200
commit48dd0fed90e2b1f1ba87401439b85942181c6df3 (patch)
tree4be2982fd1697a9834d15b3ba3c70165ef0eee8a /samples
parent22a7c31a9659deaddafbbcec6562d44141e84474 (diff)
downloadop-kernel-dev-48dd0fed90e2b1f1ba87401439b85942181c6df3.zip
op-kernel-dev-48dd0fed90e2b1f1ba87401439b85942181c6df3.tar.gz
tracing: trace_output.c, fix false positive compiler warning
This compiler warning: CC kernel/trace/trace_output.o kernel/trace/trace_output.c: In function ‘register_ftrace_event’: kernel/trace/trace_output.c:544: warning: ‘list’ may be used uninitialized in this function Is wrong as 'list' is always initialized - but GCC (4.3.2) does not recognize this relationship properly. Work around the warning by initializing the variable to NULL. [ Impact: fix false positive compiler warning ] Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud