aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2019-11-28 15:55:39 +0100
committerLi Yang <[email protected]>2019-12-09 13:54:35 -0600
commit09a39ec9decd99ef4dfaa21a83ce09f719495b49 (patch)
treecfb85dd36bc08db556213616e7dcf283b835ed60 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentb0816f88b9b5a829401a1473e51c7001940d616f (diff)
serial: ucc_uart: access __be32 field using be32_to_cpu
The buf member of struct qe_bd is a __be32, so to make this work on little-endian hosts, use be32_to_cpu when reading it. Reviewed-by: Timur Tabi <[email protected]> Acked-by: Timur Tabi <[email protected]> Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: Li Yang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions