[PATCH master] pmdomain: fix NULL pointer derference with dummy power domains
Sascha Hauer
s.hauer at pengutronix.de
Mon Dec 1 22:53:01 PST 2025
On Mon, 01 Dec 2025 14:37:47 +0100, Ahmad Fatoum wrote:
> With the addition of commit 4aca68990d04 ("drivers: power: ignore power
> domains with barebox,allow-dummy"), it's possible for genpd to be NULL
> when there is no driver and the device tree node has barebox,allow-dummy
> in it.
>
> Allow for this possibility in genpd_add_device and genpd_remove_device
> as well.
>
> [...]
Applied, thanks!
[1/1] pmdomain: fix NULL pointer derference with dummy power domains
https://git.pengutronix.de/cgit/barebox/commit/?id=87e50b97ca3c (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list