aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMichael Zhivich <[email protected]>2019-04-08 14:48:45 +0000
committerDavid S. Miller <[email protected]>2019-04-08 23:30:43 +0000
commitafe64245af9f58267e7fa8fb76ad5650ee7ec25f (patch)
tree2163e312bce8d9f0288132da3c97ecf679fe6d24 /tools/perf/scripts/python/stackcollapse.py
parentMerge branch 'erspan-use-after-free' (diff)
downloadkernel-afe64245af9f58267e7fa8fb76ad5650ee7ec25f.tar.gz
kernel-afe64245af9f58267e7fa8fb76ad5650ee7ec25f.zip
ethtool: avoid signed-unsigned comparison in ethtool_validate_speed()
When building C++ userspace code that includes ethtool.h with "-Werror -Wall", g++ complains about signed-unsigned comparison in ethtool_validate_speed() due to definition of SPEED_UNKNOWN as -1. Explicitly cast SPEED_UNKNOWN to __u32 to match type of ethtool_validate_speed() argument. Signed-off-by: Michael Zhivich <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions