aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJesse Brandeburg <[email protected]>2015-08-13 18:34:03 -0700
committerDavid S. Miller <[email protected]>2015-08-17 12:14:53 -0700
commitfbaff3ef859a86dc3df2128d2de9f8a6e255a967 (patch)
tree9823b7e25461a2b5c1f655a8662e3e7ea3385f69 /tools/perf/scripts/python/event_analyzing_sample.py
parentf3ae683f09aff7c53dab8b85d2425d746c8e0d5f (diff)
net: fix endian check warning in etherdevice.h
Sparse builds have been warning for a really long time now that etherdevice.h has a conversion that is unsafe. include/linux/etherdevice.h:79:32: warning: restricted __be16 degrades to integer This code change fixes the issue and generates the exact same assembly before/after (checked on x86_64) Fixes: 2c722fe1c821 (etherdevice: Optimize a few is_<foo>_ether_addr functions) Signed-off-by: Jesse Brandeburg <[email protected]> CC: Joe Perches <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions