aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2023-03-05 11:32:34 +0100
committerBjorn Andersson <andersson@kernel.org>2023-03-06 20:13:06 -0800
commit749d56bd5cf311dd9b50cfc092d7a39309454077 (patch)
tree36e2c5c1ae5b69f19ecd17cb0058b607bd5bbda4 /scripts/gcc-plugins/sancov_plugin.c
parent947007419b60d5e06aa54b0f411c123db7f45a44 (diff)
soc: qcom: rmtfs: handle optional qcom,vmid correctly
Older platforms don't have qcom,vmid set, handle -EINVAL return value correctly. And since num_vmids is passed to of_property_read_u32_array later we should make sure it has a sane value before continuing. 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-2-6a7206081602@z3ntu.xyz
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions