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.goodb...@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, -- Andrew Goodbody <andrew.goodb...@linaro.org>