diff options
author | Jesse Brandeburg <[email protected]> | 2021-03-25 17:38:33 -0700 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-05-26 09:11:41 -0700 |
commit | b16dc6c2f1786157a93c7ab560f8da1e69b69256 (patch) | |
tree | dab736728ee590884093f93be45306411b860819 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | b6ce4a1c4ba4fd6fd27fe8d917b3d062ff4ebbdd (diff) |
ixgbe: use checker safe conversions
The ixgbe hardware needs some very specific programming for
certain registers, which led to some misguided usage of ntohs
instead of using be16_to_cpu(), as well as a home grown swap
followed by an ntohs. Sparse didn't like this at all, and this
fixes the C=2 build, with code that uses native kernel interface.
Signed-off-by: Jesse Brandeburg <[email protected]>
Tested-by: Dave Switzer <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions