diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2023-03-05 13:32:33 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-03-07 07:13:06 +0300 |
commit | 947007419b60d5e06aa54b0f411c123db7f45a44 (patch) | |
tree | 3b9835ced62696d5cde12e520ba52c6055bdb8eb /tools/perf/scripts/python/check-perf-trace.py | |
parent | 77bf4b3ed42e31d29b255fcd6530fb7a1e217e89 (diff) | |
download | linux-947007419b60d5e06aa54b0f411c123db7f45a44.tar.xz |
soc: qcom: rmtfs: fix error handling reading qcom,vmid
of_property_count_u32_elems returns a negative integer when an error
happens , but since the value was assigned to an unsigned integer, the
check never worked correctly. Also print the correct variable in the
error print, ret isn't used here.
Fixes: e656cd0bcf3d ("soc: qcom: rmtfs: Optionally map RMTFS to more VMs")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230305-rmtfs-vmid-fix-v1-1-6a7206081602@z3ntu.xyz
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions