[for-next][PATCH 30/30] tracing: Fix unsigned comparison to zero in hist trigger code

2016-04-20 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" 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

[for-next][PATCH 30/30] tracing: Fix unsigned comparison to zero in hist trigger code

2016-04-20 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" 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: