aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAKASHI Takahiro2023-11-07 09:05:47 +0900
committerTom Rini2023-11-10 10:59:28 -0500
commit4808d1633336a98f3c48a94a7e1fcd1e1030a324 (patch)
tree2ee4cf79e6d1d28fa309ea8f7c4fb5f52561afbe /include/linux
parentd2174dbff1b492c682cc93903bc7456c2784e719 (diff)
firmware: scmi: correct a validity check against power domain id
A power domain id on sandbox should be in the range from zero to ARRAY_SIZE(scmi_pwdom) - 1. Correct the validity check logic. Addresses-Coverity-ID: 467401 ("Out-of-bounds write") Addresses-Coverity-ID: 467405 ("Out-of-bounds read") Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions