diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-09-23 11:50:59 -0700 |
|---|---|---|
| committer | Georgi Djakov <djakov@kernel.org> | 2026-10-02 00:41:11 +0300 |
| commit | cdffc9152b11fb99431704dd81b1391ade04d688 (patch) | |
| tree | fdc4204f3b30c0fb95bb51921d3f83222f5d9679 /scripts/Makefile.thinlto | |
| parent | e0667aa9c6f997e827ba9444d19550dea95d2169 (diff) | |
| download | linux-next-cdffc9152b11fb99431704dd81b1391ade04d688.tar.gz linux-next-cdffc9152b11fb99431704dd81b1391ade04d688.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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
