summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2026-08-13 10:09:21 +0300
committerBjorn Andersson <andersson@kernel.org>2026-10-05 09:10:43 +0200
commitf3c95a76d2ee9c17034e9d96917b37d194dd9f91 (patch)
tree0c2daaf657b02fede8e3af0cf1705f9f24059369 /tools/perf/scripts/python
parent77a717ae0e07303d4ece8382cbf203e0c0c5c25f (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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions