[PATCH] ARM: OMAP2+: hwmod: Add of_node_put() before break
Tony Lindgren
tony at atomide.com
Fri Dec 17 04:14:16 PST 2021
* Wan Jiabing <wanjiabing at vivo.com> [211014 11:58]:
> Fix following coccicheck warning:
> ./arch/arm/mach-omap2/omap_hwmod.c:753:1-23: WARNING: Function
> for_each_matching_node should have of_node_put() before break
>
> Early exits from for_each_matching_node should decrement the
> node reference counter.
Thanks adding into omap-for-v5.17/fixes-not-urgent.
Tony
More information about the linux-arm-kernel
mailing list