summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2026-08-13 10:09:21 +0300
committerBjorn Andersson <andersson@kernel.org>2026-08-31 18:11:16 -0500
commit22f129fedb153a17d80b1d883a7c4dd2417cf38e (patch)
tree75a38c9e61793c51e3a06fa1f57d02e0ca27f08a /tools/lib/python
parent5c6cd312c29f0527ed832d99f0c89bac097b62bd (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