Messages in this thread | | | From | Arnd Bergmann <> | Date | Fri, 24 Jun 2022 17:11:06 +0200 | Subject | Re: [PATCH] ARM: cns3xxx: Fix refcount leak in cns3xxx_init |
| |
On Thu, Jun 23, 2022 at 10:36 AM Krzysztof Hałasa <khalasa@piap.pl> wrote: > > Miaoqian Lin <linmq006@gmail.com> writes: > > > of_find_compatible_node() returns a node pointer with refcount > > incremented, we should use of_node_put() on it when done. > > Add missing of_node_put() to avoid refcount leak. > > > > Fixes: 415f59142d9d ("ARM: cns3xxx: initial DT support") > > Signed-off-by: Miaoqian Lin <linmq006@gmail.com> > > Acked-by: Krzysztof Halasa <khalasa@piap.pl> > > Arnd, I guess you are in the best position to pick this patch up? > Thanks to both of you.
Done now, thanks!
Arnd
| |