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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux