summaryrefslogtreecommitdiffstats
path: root/include/soc/qcom
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2023-01-02 12:52:55 +0100
committerFlorian Fainelli <f.fainelli@gmail.com>2023-01-10 22:44:04 +0100
commita1904fa4dfc929e5ea36bd409cf0d800df56fb8b (patch)
tree1417bc9e1f12fe3606ba38e2e87619a7c8d5bd7f /include/soc/qcom
parentLinux 6.2-rc1 (diff)
downloadlinux-a1904fa4dfc929e5ea36bd409cf0d800df56fb8b.tar.xz
linux-a1904fa4dfc929e5ea36bd409cf0d800df56fb8b.zip
firmware: raspberrypi: Fix type assignment
We silently cast an unsigned int into a __le32 which makes sparse complain. Moreover, we never actually convert endianness between the CPU's and the expected little-endian value. Fix both at once by calling cpu_to_le32(). Fixes: 40c31955e4e9 ("firmware: raspberrypi: Provide a helper to query a clock max rate") Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20221116091712.1309651-3-maxime@cerno.tech Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20230102115255.17802-1-maxime@cerno.tech Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'include/soc/qcom')
0 files changed, 0 insertions, 0 deletions