[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YXWUk38hq/Np7EMc@matsya>
Date: Sun, 24 Oct 2021 22:44:59 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Wan Jiabing <wanjiabing@...o.com>
Cc: Kishon Vijay Abraham I <kishon@...com>,
linux-phy@...ts.infradead.org, linux-kernel@...r.kernel.org,
kael_w@...h.net
Subject: Re: [PATCH] phy: hisilicon: Add of_node_put() in phy-hisi-inno-usb2
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
Powered by blists - more mailing lists