aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-03-23 17:36:20 +0200
committerGreg Kroah-Hartman <[email protected]>2021-03-23 16:53:29 +0100
commit91356fed6afd1c83bf0d3df1fc336d54e38f0458 (patch)
tree253c616e448f9eb557a6a833f09d5c5f1ef52833 /tools/perf/scripts/python/stackcollapse.py
parent325c3b9a0b5c25471e85c048609f7177e91c9934 (diff)
usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()
Either way ~0 will be in the correct byte order, hence replace cpu_to_le32() by lower_32_bits(). Moreover, it makes sparse happy, otherwise it complains: .../pch_udc.c:1813:27: warning: incorrect type in assignment (different base types) .../pch_udc.c:1813:27: expected unsigned int [usertype] dataptr .../pch_udc.c:1813:27: got restricted __le32 [usertype] Fixes: f646cf94520e ("USB device driver of Topcliff PCH") Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions