[GIT PULL] Pin control fixes for v6.7

From: Linus Walleij
Date: Wed Nov 29 2023 - 07:09:19 EST


Hi Linus,

this is a first belated round of pin control fixes for the v6.7 series..

The most interesting patch is the list iterator fix in the core by Maria
Yu, it took a while for me to realize what was going on there.

Some details on the fixes are in the tag.

Please pull them in!

Yours,
Linus Walleij

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
tags/pinctrl-v6.7-2

for you to fetch changes up to 90785ea8158b6923c5d6a024f2b1c076110577b5:

dt-bindings: pinctrl: s32g2: change a maintainer email address
(2023-11-24 11:21:55 +0100)

----------------------------------------------------------------
Some pin control fixes for the v6.7 cycle:

- Fix a really interesting potential core bug in the list iterator
requireing the use of READ_ONCE() discovered when testing kernel
compiles with clang.

- Check devm_kcalloc() return value and an array bounds in the STM32
driver.

- Fix an exotic string truncation issue in the s32cc driver, found
by the kernel test robot (impressive!)

- Fix an undocumented struct member in the cy8c95x0 driver.

- Fix a symbol overlap with MIPS in the Lochnagar driver, MIPS
defines a global symbol "RST" which is a bit too generic and
collide with stuff. OK this one should be renamed too, we will
fix that as well.

- Fix erroneous branch taking in the Realtek driver.

- Fix the mail address in MAINTAINERS for the s32g2 driver.

----------------------------------------------------------------
Antonio Borneo (1):
pinctrl: stm32: fix array read out of bound

Charles Keepax (1):
pinctrl: lochnagar: Don't build on MIPS

Chen Ni (1):
pinctrl: stm32: Add check for devm_kcalloc

Chester Lin (2):
pinctrl: s32cc: Avoid possible string truncation
dt-bindings: pinctrl: s32g2: change a maintainer email address

Linus Walleij (1):
pinctrl: cy8c95x0: Fix doc warning

Maria Yu (1):
pinctrl: avoid reload of p state in list iteration

Tzuyi Chang (1):
pinctrl: realtek: Fix logical error when finding descriptor

.../bindings/pinctrl/nxp,s32g2-siul2-pinctrl.yaml | 2 +-
drivers/pinctrl/cirrus/Kconfig | 3 ++-
drivers/pinctrl/core.c | 6 +++---
drivers/pinctrl/nxp/pinctrl-s32cc.c | 4 ++--
drivers/pinctrl/pinctrl-cy8c95x0.c | 1 +
drivers/pinctrl/realtek/pinctrl-rtd.c | 4 ++--
drivers/pinctrl/stm32/pinctrl-stm32.c | 13 ++++++++++---
7 files changed, 21 insertions(+), 12 deletions(-)