Re: [PATCH] of: overlay: Fix missing of_node_put() in error case of init_overlay_changeset()

From: Rob Herring
Date: Fri Jun 09 2023 - 18:12:45 EST



On Fri, 02 Jun 2023 11:05:02 +0900, Kunihiko Hayashi wrote:
> In init_overlay_changeset(), the variable "node" is from
> of_get_child_by_name(), and the "node" should be discarded in error case.
>
> Fixes: d1651b03c2df ("of: overlay: add overlay symbols to live device tree")
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@xxxxxxxxxxxxx>
> ---
> drivers/of/overlay.c | 1 +
> 1 file changed, 1 insertion(+)
>

Applied, thanks!