[PATCH] ARM: omap2: Fix refcount leak in omap3xxx_prm_late_init

Tony Lindgren tony at atomide.com
Mon Jun 27 22:10:15 PDT 2022


* Miaoqian Lin <linmq006 at gmail.com> [220526 10:33]:
> of_find_matching_node() returns a node pointer with refcount
> incremented, we should use of_node_put() on it when not need anymore.
> Add missing of_node_put() to avoid refcount leak.

Thanks applying into omap-for-v5.10/soc.

Tony



More information about the linux-arm-kernel mailing list