Skip to content
Snippets Groups Projects
Commit bbeac60f authored by Maulik Shah's avatar Maulik Shah Committed by Andy Gross
Browse files

drivers: soc: qcom: rpmh-rsc: Correct check for slot number


The return index value from bitmap_find_next_zero_area can be higher
than available slot. So correct the check to return error in such case.

Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
Signed-off-by: default avatarRaju P.L.S.S.S.N <rplsssn@codeaurora.org>
Reviewed-by: default avatarLina Iyer <ilina@codeaurora.org>
Signed-off-by: default avatarAndy Gross <agross@kernel.org>
parent 93b26052
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment