summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-09-23 11:50:59 -0700
committerGeorgi Djakov <djakov@kernel.org>2026-09-28 19:50:00 +0300
commit07767d98ce0a40972bc7dadc8c1436f0490eb143 (patch)
treedba37587bdb7f58bafec72dd2518250ed5d6e16b /tools/perf/scripts/python/stackcollapse.py
parent28f76170fd90051dd65a8330004fff3f386a56da (diff)
downloadlinux-next-07767d98ce0a40972bc7dadc8c1436f0490eb143.tar.gz
linux-next-07767d98ce0a40972bc7dadc8c1436f0490eb143.zip
interconnect: qcom: fix endian annotations of BCM aux data
struct qcom_icc_bcm::aux_data keeps a copy of the struct bcm_db read from the command db, whose unit and width fields are annotated as __le32/__le16 to describe the little-endian on-disk format. Using those restricted types directly in bandwidth calculations makes sparse complain about endianness. Keep aux_data typed as struct bcm_db, copied verbatim from the command db buffer, and convert the fields with le32_to_cpu()/le16_to_cpu() at the places where unit and width are used. No functional change. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202609221350.3Y8MOce9-lkp@intel.com/ Assisted-by: LLM Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20260923185059.25196-1-rosenp@gmail.com Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions