aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorJesse Brandeburg <[email protected]>2021-03-25 17:38:27 -0700
committerTony Nguyen <[email protected]>2021-05-26 09:11:41 -0700
commit88c228b22e001cce1d36112b883bd320c0893ef8 (patch)
tree7f6440ef3cfa0478aaa011f8f8be98a39d11b640 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent0a5d8a9d226fe5ef54b08a8c5f42add49d78484e (diff)
igb/igc: use strongly typed pointer
The igb and igc driver both use a trick of creating a local type pointer on the stack to ease dealing with a receive descriptor in 64 bit chunks for printing. Sparse however was not taken into account and receive descriptors are always in little endian order, so just make the unions use __le64 instead of u64. No functional change. Signed-off-by: Jesse Brandeburg <[email protected]> Tested-by: Dvora Fuxbrumer <[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