Re: [PATCH] gpio: shared: fix a NULL-pointer dereference

From: Bartosz Golaszewski

Date: Wed Nov 19 2025 - 02:32:55 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Tue, 18 Nov 2025 21:04:59 +0100, Bartosz Golaszewski wrote:
> The fact that CONFIG_OF is enabled does not mean that the device tree is
> populated and that of_root points to a valid device node. Check if it's
> NULL before trying to traverse the tree.
>
>

Applied, thanks!

[1/1] gpio: shared: fix a NULL-pointer dereference
https://git.kernel.org/brgl/linux/c/01be9047988d15850ca15d146c5f4aeb5de2f569

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>