Skip to content

pinctrl: tegra: fix Tegra186 AON bank index and add bank bounds checks

Elkin Cruz linux-gpio linux-tegra lkml llvm stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pinctrl: tegra186: Fix register bank for AON drive pin groupsdrivers/pinctrl/tegra/pinctrl-tegra186.c+51 -510 replies
2/2pinctrl: tegra: Add register bank bounds checksdrivers/pinctrl/tegra/pinctrl-tegra.c+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] pinctrl: tegra: fix Tegra186 AON bank index and add bank bounds checks

I am trying out new Clang static analysis checks for kernel bug classes, and they flagged this code as possibly buggy. The findings were triaged/fixed and commit descriptions were drafted with help of AI, then checked against linux-next (not runtime-tested on hardware).

Thanks,
Elkin

Elkin Cruz (2):
pinctrl: tegra186: Fix register bank for AON drive pin groups
pinctrl: tegra: Add register bank bounds checks

 drivers/pinctrl/tegra/pinctrl-tegra.c    |   8 +-
 drivers/pinctrl/tegra/pinctrl-tegra186.c | 102 +++++++++++------------
 2 files changed, 58 insertions(+), 52 deletions(-)
Signature · 1 line
2.56.1.839.g22a8290db9-goog