[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200507192717.GA2905961@ulmo>
Date: Thu, 7 May 2020 21:27:17 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: jonathanh@...dia.com, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] memory: tegra: Fix an error handling path in
'tegra186_emc_probe()'
On Wed, May 06, 2020 at 10:09:07PM +0200, Christophe JAILLET wrote:
> The call to 'tegra_bpmp_get()' must be balanced by a call to
> 'tegra_bpmp_put()' in case of error, as already done in the remove
> function.
>
> Add an error handling path and corresponding goto.
>
> Fixes: 52d15dd23f0b ("memory: tegra: Support DVFS on Tegra186 and later")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> drivers/memory/tegra/tegra186-emc.c | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
Applied to for-5.8/memory, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists