aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNaoya Horiguchi <[email protected]>2018-09-04 15:45:48 -0700
committerLinus Torvalds <[email protected]>2018-09-04 16:45:02 -0700
commit904506562e0856f2535d876407d087c9459d345b (patch)
treed754c22776b67825205676a387ccc5cf805b9d5d /tools/perf/util/trace-event-scripting.c
parentb353756b2b71915e81ed41239292306622d08c9f (diff)
tools/vm/slabinfo.c: fix sign-compare warning
Currently we get the following compiler warning: slabinfo.c:854:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s->object_size < min_objsize) ^ due to the mismatch of signed/unsigned comparison. ->object_size and ->slab_size are never expected to be negative, so let's define them as unsigned int. [[email protected]: convert everything - none of these can be negative] Link: http://lkml.kernel.org/r/[email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Naoya Horiguchi <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Matthew Wilcox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions