diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-08 08:57:55 -0500 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-01-17 10:19:18 +0100 |
commit | 31537cf8f3f95d45360b995ad8be2c870edc5b02 (patch) | |
tree | 7d1ce73ea0f894260c5598db5aa60d0a48357b94 /arch/nds32 | |
parent | e4add247789e4ba5e08ad8256183ce2e211877d4 (diff) | |
download | linux-31537cf8f3f95d45360b995ad8be2c870edc5b02.tar.bz2 |
tracing: Initialize ret in syscall_enter_define_fields()
If syscall_enter_define_fields() is called on a system call with no
arguments, the return code variable "ret" will never get initialized.
Initialize it to zero.
Fixes: 04ae87a52074e ("ftrace: Rework event_create_dir()")
Reported-by: Qian Cai <cai@lca.pw>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/0FA8C6E3-D9F5-416D-A1B0-5E4CD583A101@lca.pw
Diffstat (limited to 'arch/nds32')
0 files changed, 0 insertions, 0 deletions