diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2016-03-08 22:17:15 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-04-19 22:56:05 (GMT) |
commit | d50c744ecde7ee3ba4d7ffb0e1c55e7a2f6bbc8e (patch) | |
tree | e1f246a1ee69683eb2a87298e35dad1ae327591d /kernel/trace/trace_kdb.c | |
parent | 93c5f671f25cb7a73492b7a96b426c4fb1efa715 (diff) | |
download | linux-d50c744ecde7ee3ba4d7ffb0e1c55e7a2f6bbc8e.tar.xz |
tracing: Fix unsigned comparison to zero in hist trigger code
Fengguang Wu's bot found two comparisons of unsigned integers to zero. These
were real bugs, as it would miss error conditions returned to zero.
trace_events_hist.c:426:6-9: WARNING: Unsigned expression compared with zero: idx < 0
trace_events_hist.c:568:5-14: WARNING: Unsigned expression compared with zero: n_entries < 0
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_kdb.c')
0 files changed, 0 insertions, 0 deletions