aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDavid Daney <[email protected]>2010-10-27 18:03:47 -0700
committerGrant Likely <[email protected]>2010-12-24 01:25:54 -0700
commit194588604765ac803f98fb9d19a36f6b835f4620 (patch)
tree940c6a26436c7dfa38152a8479d0641e9a19d7df /tools/perf/scripts/python/check-perf-trace.py
parent0131d8973c8b9bd9d40fee8fae24eab24821efdb (diff)
of/mdio: Fix some endianness problems.
In of_mdiobus_register(), the __be32 *addr variable is dereferenced. This will not work on little-endian targets. Also since it is unsigned, checking for less than zero is redundant. Fix these two issues. Signed-off-by: David Daney <[email protected]> [[email protected]: removed goto] Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions