Re: [PATCH] ARM: OMAP2+: add missing call to of_node_put()

2021-03-24 Thread Tony Lindgren
* Yang Li [210225 10:55]: > In one of the error paths of the for_each_child_of_node() loop, > add missing call to of_node_put(). Thanks applying into omap-for-v5.13/soc. Tony

[PATCH] ARM: OMAP2+: add missing call to of_node_put()

2021-02-25 Thread Yang Li
In one of the error paths of the for_each_child_of_node() loop, add missing call to of_node_put(). Fix the following coccicheck warning: ./arch/arm/mach-omap2/omap_hwmod.c:2132:1-23: WARNING: Function "for_each_child_of_node" should have of_node_put() before return around line 2140. Reported-by: