aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorNicholas Mc Guire <[email protected]>2019-05-09 04:13:55 +0200
committerAlexandre Belloni <[email protected]>2019-05-23 17:42:25 +0200
commit8aec4b875008b98349222f3fbe8b86051d0fab4f (patch)
tree3b7067e25cfff4c28608dfa68431264421876527 /tools/perf/scripts/python/mem-phys-addr.py
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
rtc: ds2404: use hw endiannes variable
Converting from hardware to host endiannes was done using reassignment to the same variable which makes sparse unhappy as it can not verify the endiannes handling properly. To allow sparse to verify endiannes handling an explicit __le32 is introduced. Note that this patch does not change the generated binary (x86_64 and ppc64 binary diff). Signed-off-by: Nicholas Mc Guire <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions