Thread (2 messages) 2 messages, 2 authors, 2021-10-24

Re: [PATCH] phy: hisilicon: Add of_node_put() in phy-hisi-inno-usb2

flat view

From: Vinod Koul <vkoul@kernel.org>
Date: 2021-10-24 17:15:06
Also in: lkml

On 15-10-21, 04:01, Wan Jiabing wrote:
Fix following coccicheck warning:
./drivers/phy/hisilicon/phy-hisi-inno-usb2.c:138:1-23: WARNING: Function
for_each_child_of_node should have of_node_put() before break

Early exits from for_each_child_of_node should decrement the
node reference counter.
Applied, thanks

-- 
~Vinod

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help