aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAlexander Duyck <aduyck@mirantis.com>2016-03-18 19:06:53 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-04-06 15:16:07 -0400
commit415cd2a645b2573f173cc52419049f9caacf9a47 (patch)
tree180971ffb1d7a36b01c6df58603987fc30335633 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent4da46cebbd3b4dc445195a9672c99c1353af5695 (diff)
igb: Fix sparse warning about passing __beXX into leXX_to_cpup
We were casting the addr as __beXX and then passing it into le32_to_cpu because the device expects the MAC address to be in network order even though the register set is little endian. Instead of casting it as __beXX we can just cast it as __leXX in order to maintain consistency since the region of memory is already in little endian order as far as we are concerned. Signed-off-by: Alexander Duyck <aduyck@mirantis.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions