Skip to content

pinctrl: qcom: Address two Smatch reported issues

Andrew Goodbody u-boot 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20250807-pinctrl_qcom-5aa7ec35301b

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2pinctrl: qcom: sa8775: Limit check for array index not correctdrivers/pinctrl/qcom/pinctrl-sa8775p.c+3 -10 replies
2/2pinctrl: qcom: sdm845: Limit check off by 1drivers/pinctrl/qcom/pinctrl-sdm845.c+1 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchCasey Connolly
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

Smatch reported issues with the limit checks in these two drivers that could lead to an index in an array going out of bounds.

---
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,

Signature · 1 line
Andrew Goodbody <[email protected]>