diff options
| author | 2026-08-13 10:09:21 +0300 | |
|---|---|---|
| committer | 2026-10-05 09:10:43 +0200 | |
| commit | f3c95a76d2ee9c17034e9d96917b37d194dd9f91 (patch) | |
| tree | 0c2daaf657b02fede8e3af0cf1705f9f24059369 /scripts/Makefile.thinlto | |
| parent | soc: qcom: ubwc: Add configuration for Maili (diff) | |
soc: qcom: smem: Fix signedness bug in smem_dram_parse()
The "ver" variable is type "enum ddr_info_version". Enum types are
dependent on the compiler but in practical terms here, "ver" is
basically an unsigned int. It needs to be signed for the -EINVAL
to be handled correctly.
Fixes: 1d234eeafc56 ("soc: qcom: smem: Expose DDR data from SMEM")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/an1toQ-acGR0kOWj@stanley.mountain
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
