[PATCH 0/2] gpio: shared: fix no-device, fwnode-based lookup
From: Bartosz Golaszewski
Date: Tue Sep 29 2026 - 08:34:37 EST
Abel reported to me a crash on Eliza linked to fwnode GPIO lookup for
shared GPIOs. The second patch fixes the issue, the first fixes another
problem the clanker found during review.
Tested that the issue no longer happens and that sharing of GPIOs still
works on Qualcomm Eliza.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
---
Bartosz Golaszewski (2):
gpio: shared: fix use-after-free bug when adding shared proxies
gpio: shared: fix no-device, fwnode-based lookup
drivers/gpio/gpiolib-shared.c | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
---
base-commit: 6375e61c01e93e35ee7acd336a689ac1fae4b509
change-id: 20260929-gpio-shared-fwnode-lookup-e866faeb5bde
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>