[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20211020225609.3144238-1-f.fainelli@gmail.com>
Date: Wed, 20 Oct 2021 15:56:09 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: bcm-kernel-feedback-list@...adcom.com,
Wan Jiabing <wanjiabing@...o.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: kael_w@...h.net
Subject: Re: [PATCH] soc: bcm: brcmstb: Add of_node_put() in pm-mips
On Fri, 15 Oct 2021 02:49:23 -0400, Wan Jiabing <wanjiabing@...o.com> wrote:
> Fix following coccicheck warning:
> ./drivers/soc/bcm/brcmstb/pm/pm-mips.c:404:1-23: WARNING: Function
> for_each_matching_node should have of_node_put() before goto or break
>
> Early exits from for_each_matching_node should decrement the
> node reference counter.
>
> Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
> ---
Applied to https://github.com/Broadcom/stblinux/commits/drivers/next, thanks!
--
Florian
Powered by blists - more mailing lists