Re: [PATCH] ARM: OMAP2+: hwmod: Add of_node_put() before break

From: Tony Lindgren
Date: Fri Dec 17 2021 - 07:14:21 EST


* Wan Jiabing <wanjiabing@xxxxxxxx> [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