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

From: Elkin Cruz

Date: Wed Nov 25 2026 - 17:26:36 EST


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(-)

--
2.56.1.839.g22a8290db9-goog