diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-07-12 10:35:57 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-27 15:06:07 -0700 |
| commit | 75202d3ffca4dddfb2be9b6f8071c605335ad424 (patch) | |
| tree | 68610f0179f602499726d4c4fd34d21fe84236de /arch/mips/kernel/proc.c | |
| parent | 3457c0459496d028a4f47167a8b8871671abdeda (diff) | |
ftrace: Fix uninitialized variable in match_records()
commit 2e028c4fe12907f226b8221815f16c2486ad3aa7 upstream.
My static checker complains that if "func" is NULL then "clear_filter"
is uninitialized. This seems like it could be true, although it's
possible something subtle is happening that I haven't seen.
kernel/trace/ftrace.c:3844 match_records()
error: uninitialized symbol 'clear_filter'.
Link: http://lkml.kernel.org/r/20170712073556.h6tkpjcdzjaozozs@mwanda
Fixes: f0a3b154bd7 ("ftrace: Clarify code for mod command")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/kernel/proc.c')
0 files changed, 0 insertions, 0 deletions
