[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <163166913446.763609.1283697746683465869@swboyd.mtv.corp.google.com>
Date: Tue, 14 Sep 2021 18:25:34 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Julia.Lawall@...ia.fr, gregory.clement@...tlin.com,
lee.jones@...aro.org, mturquette@...libre.com
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: Re: [PATCH] clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths
Quoting Christophe JAILLET (2021-04-23 00:02:26)
> If we exit the for_each_of_cpu_node loop early, the reference on the
> current node must be decremented, otherwise there is a leak.
>
> Fixes: f756e362d938 ("clk: mvebu: add CPU clock driver for Armada 7K/8K")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
Applied to clk-next
Powered by blists - more mailing lists