[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <21d5814e-cd51-ab24-f673-b2da5e784ce8@huawei.com>
Date: Tue, 9 Nov 2021 10:07:44 +0800
From: He Ying <heying24@...wei.com>
To: <mpe@...erman.id.au>, <benh@...nel.crashing.org>,
<paulus@...ba.org>, <maz@...nel.org>
CC: <linuxppc-dev@...ts.ozlabs.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] powerpc/embedded6xx/hlwd-pic: Add missing of_node_put in
hlwd_pic_probe
kindly ping...
在 2021/11/3 9:48, He Ying 写道:
> Early exits from for_each_compatible_node() should decrease the
> node reference count.
>
> Signed-off-by: He Ying <heying24@...wei.com>
> ---
> arch/powerpc/platforms/embedded6xx/hlwd-pic.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/powerpc/platforms/embedded6xx/hlwd-pic.c b/arch/powerpc/platforms/embedded6xx/hlwd-pic.c
> index 15396333a90b..a4b020e4b6af 100644
> --- a/arch/powerpc/platforms/embedded6xx/hlwd-pic.c
> +++ b/arch/powerpc/platforms/embedded6xx/hlwd-pic.c
> @@ -214,6 +214,7 @@ void hlwd_pic_probe(void)
> irq_set_chained_handler(cascade_virq,
> hlwd_pic_irq_cascade);
> hlwd_irq_host = host;
> + of_node_put(np);
> break;
> }
> }
Powered by blists - more mailing lists