Skip to content
Commit 93ded65b authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Tom Rini
Browse files

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.

Signed-off-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
Fixes: CID 467401
Fixes: CID 467405
parent 1a893b55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment