Skip to contentSkip to conversation

gpio: fixes for v5.10-rc7

GIT PULL Bartosz Golaszewski 2 participants 2 messages Dec 3, 2020 – Dec 4, 2020 GPIO

lore
Share & tools
lore
#0 lore raw

From: Bartosz Golaszewski <[email protected]>

Linus,

Here's a bunch of fixes for you. They're rebased on top of v5.10-rc6 because the gpio-zynq patch depends on a function that's been merged this release cycle but post rc1.

The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da:

Linux 5.10-rc6 (2020-11-29 15:50:50 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v5.10-rc7

for you to fetch changes up to 7ee1a01e47403f72b9f38839a737692f6991263e:

gpio: mvebu: fix potential user-after-free on probe (2020-12-02 12:01:51 +0100)

----------------------------------------------------------------
gpio fixes for v5.10-rc7

- disable pm_runtime in error path in gpio-arizona
- fix a NULL pointer dereference in gpio-dwapb
- fix a resource leak in gpio-zynq
- balance the freeing of pinctrl ranges if PINCTRL is not selected
- fix a potential use-after-free error in gpio-mvebu

----------------------------------------------------------------
Baruch Siach (1):
gpio: mvebu: fix potential user-after-free on probe

Edmond Chung (1):
gpiolib: Don't free if pin ranges are not defined

Luo Jiaxing (1):
gpio: dwapb: fix NULL pointer dereference at dwapb_gpio_suspend()

Qinglang Miao (1):
gpio: zynq: fix reference leak in zynq_gpio functions

Zheng Liang (1):
gpio: arizona: disable pm_runtime in case of failure

 drivers/gpio/gpio-arizona.c |  1 +
 drivers/gpio/gpio-dwapb.c   |  2 ++
 drivers/gpio/gpio-mvebu.c   | 16 +++++++++++-----
 drivers/gpio/gpio-zynq.c    |  4 ++--
 drivers/gpio/gpiolib.c      |  5 +++++
 5 files changed, 21 insertions(+), 7 deletions(-)
#1 lore raw
Quoted 3 lines · Bartosz Golaszewski

Here's a bunch of fixes for you. They're rebased on top of v5.10-rc6 because the gpio-zynq patch depends on a function that's been merged this release cycle but post rc1.

Thanks! Pulled into my fixes branch.

Yours,
Linus Walleij