]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: initialize variable in create_dyn_event()
authorFrank Rowand <frank.rowand@sony.com>
Fri, 22 Mar 2019 06:58:20 +0000 (23:58 -0700)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 26 Mar 2019 12:35:36 +0000 (08:35 -0400)
commit2144ce87bfe777f371607ad360d5cdd9cb87018e
tree0a11775e9ce45dc8d1bbab45c174eec87b357e94
parent6050e664474054fe1b0ec4e4a824fe19fe43d9cb
tracing: initialize variable in create_dyn_event()

Fix compile warning in create_dyn_event(): 'ret' may be used uninitialized
in this function [-Wuninitialized].

Link: http://lkml.kernel.org/r/1553237900-8555-1-git-send-email-frowand.list@gmail.com
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Tom Zanussi <tom.zanussi@linux.intel.com>
Cc: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
Fixes: b36910bc7a80 ("tracing: Add unified dynamic event framework")
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_dynevent.c