[PATCH 0/4] gpio: shared: fix some bugs in unregister and error paths

Bartosz Golaszewski posted 4 patches 1 week, 5 days ago
drivers/gpio/gpiolib-shared.c | 50 ++++++++++++++++++++++++++-----------------
1 file changed, 30 insertions(+), 20 deletions(-)
[PATCH 0/4] gpio: shared: fix some bugs in unregister and error paths
Posted by Bartosz Golaszewski 1 week, 5 days ago
Here are a couple more fixes for shared GPIOs that I want to send before
the end of the merge window.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
Bartosz Golaszewski (4):
      gpio: shared: fix NULL-pointer dereference in teardown path
      gpio: shared: check if a reference is populated before cleaning its resources
      gpio: shared: fix auxiliary device cleanup order
      gpio: shared: make locking more fine-grained

 drivers/gpio/gpiolib-shared.c | 50 ++++++++++++++++++++++++++-----------------
 1 file changed, 30 insertions(+), 20 deletions(-)
---
base-commit: 057c46412cd90e432a73f650cdd75b56f755a082
change-id: 20251205-gpio-shared-teardown-fixes-d1e2429333c7

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Re: [PATCH 0/4] gpio: shared: fix some bugs in unregister and error paths
Posted by Bartosz Golaszewski 1 week, 3 days ago
On Sat, 06 Dec 2025 12:53:52 +0100, Bartosz Golaszewski wrote:
> Here are a couple more fixes for shared GPIOs that I want to send before
> the end of the merge window.
> 
> 

Applied, thanks!

[1/4] gpio: shared: fix NULL-pointer dereference in teardown path
      https://git.kernel.org/brgl/linux/c/e2c4175b8d3b3ea65fc3801c190bd93fe8b7a7a9
[2/4] gpio: shared: check if a reference is populated before cleaning its resources
      https://git.kernel.org/brgl/linux/c/c904a0d8525d5f03529ae3176e99bd32466ece7b
[3/4] gpio: shared: fix auxiliary device cleanup order
      https://git.kernel.org/brgl/linux/c/d382c765d083ad871b4a053059351edd348a2442
[4/4] gpio: shared: make locking more fine-grained
      https://git.kernel.org/brgl/linux/c/ea513dd3c066074b12e788114b45e0f2bda382cc

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>