[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176353756753.6939.11215769221318779454.b4-ty@linaro.org>
Date: Wed, 19 Nov 2025 08:32:52 +0100
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Mark Brown <broonie@...nel.org>,
Bartosz Golaszewski <brgl@...ev.pl>
Cc: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>,
linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio: shared: fix a NULL-pointer dereference
From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
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@...aro.org>
Powered by blists - more mailing lists