[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170125065739.GB13025@ulmo.ba.sec>
Date: Wed, 25 Jan 2017 07:57:39 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: swarren@...dotorg.org, gnurou@...il.com,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] memory: tegra: Add a missing 'of_node_put()' call
On Wed, Jan 04, 2017 at 08:13:24AM +0100, Christophe JAILLET wrote:
> If 'of_find_device_by_node()' fails, an 'of_node_put()' call is missing in
> the error handling path.
> Fix it by reordering the code.
>
> While at it, remove some empty lines in a more or less similar construction
> a few lines below.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> drivers/memory/tegra/tegra124-emc.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
Applied, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists