aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-06-09 17:22:02 +0000
committerGreg Kroah-Hartman <[email protected]>2021-06-10 18:01:23 +0000
commitd5ab95da2a41567440097c277c5771ad13928dad (patch)
tree1bff9cf9efdf57b1986f8122d4c6769145abfdd2 /tools/perf/scripts/python/stackcollapse.py
parentusb: misc: brcmstb-usb-pinmap: check return value after calling platform_get_... (diff)
downloadkernel-d5ab95da2a41567440097c277c5771ad13928dad.tar.gz
kernel-d5ab95da2a41567440097c277c5771ad13928dad.zip
usb: typec: wcove: Use LE to CPU conversion when accessing msg->header
As LKP noticed the Sparse is not happy about strict type handling: .../typec/tcpm/wcove.c:380:50: sparse: expected unsigned short [usertype] header .../typec/tcpm/wcove.c:380:50: sparse: got restricted __le16 const [usertype] header Fix this by switching to use pd_header_cnt_le() instead of pd_header_cnt() in the affected code. Fixes: ae8a2ca8a221 ("usb: typec: Group all TCPCI/TCPM code together") Fixes: 3c4fb9f16921 ("usb: typec: wcove: start using tcpm for USB PD support") Reported-by: kernel test robot <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: stable <[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