aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJesse Brandeburg <[email protected]>2021-03-25 17:38:29 -0700
committerTony Nguyen <[email protected]>2021-05-26 09:11:41 -0700
commitb514958dd1a3bd57638b0e63b8e5152b1960e6aa (patch)
tree2c42074ae5903f58b72388946ae8188e1408929e /tools/perf/scripts/python/mem-phys-addr.py
parentc7cbfb028b95360403d579c47aaaeef1ff140964 (diff)
igb: fix assignment on big endian machines
The igb driver was trying hard to be sparse correct, but somehow ended up converting a variable into little endian order and then tries to OR something with it. A much plainer way of doing things is to leave all variables and OR operations in CPU (non-endian) mode, and then convert to little endian only once, which is what this change does. This probably fixes a bug that might have been seen only on big endian systems. 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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions