[PATCH 0/2] pinctrl: qcom: Address two Smatch reported issues

Casey Connolly casey.connolly at linaro.org
Wed Aug 13 15:18:37 CEST 2025



On 07/08/2025 13:20, Andrew Goodbody wrote:
> Smatch reported issues with the limit checks in these two drivers that
> could lead to an index in an array going out of bounds.
> 
> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>

Reviewed-by: Casey Connolly <casey.connolly at linaro.org>

> ---
> Andrew Goodbody (2):
>       pinctrl: qcom: sa8775: Limit check for array index not correct
>       pinctrl: qcom: sdm845: Limit check off by 1
> 
>  drivers/pinctrl/qcom/pinctrl-sa8775p.c | 4 +++-
>  drivers/pinctrl/qcom/pinctrl-sdm845.c  | 2 +-
>  2 files changed, 4 insertions(+), 2 deletions(-)
> ---
> base-commit: 3526f990b77fca1c933f1d8b24eb9385010a05bf
> change-id: 20250807-pinctrl_qcom-5aa7ec35301b
> 
> Best regards,

-- 
// Casey (she/her)



More information about the U-Boot mailing list