aboutsummaryrefslogtreecommitdiff
path: root/lib/gcd.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2016-03-08 17:17:15 -0500
committerSteven Rostedt <rostedt@goodmis.org>2016-04-19 18:56:05 -0400
commitd50c744ecde7ee3ba4d7ffb0e1c55e7a2f6bbc8e (patch)
treee1f246a1ee69683eb2a87298e35dad1ae327591d /lib/gcd.c
parent93c5f671f25cb7a73492b7a96b426c4fb1efa715 (diff)
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 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions