diff options
| author | Dan Carpenter <error27@gmail.com> | 2026-08-13 10:09:21 +0300 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-08-31 18:11:16 -0500 |
| commit | 22f129fedb153a17d80b1d883a7c4dd2417cf38e (patch) | |
| tree | 75a38c9e61793c51e3a06fa1f57d02e0ca27f08a /tools/lib/python | |
| parent | 5c6cd312c29f0527ed832d99f0c89bac097b62bd (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 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
