Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1566350 > unrolled thread

Re: [PATCH] memory: tegra: Add a missing 'of_node_put()' call

Started byThierry Reding <thierry.reding@gmail.com>
First post2017-01-25 08:00 +0100
Last post2017-01-25 08:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] memory: tegra: Add a missing 'of_node_put()' call Thierry Reding <thierry.reding@gmail.com> - 2017-01-25 08:00 +0100

#1566350 — Re: [PATCH] memory: tegra: Add a missing 'of_node_put()' call

FromThierry Reding <thierry.reding@gmail.com>
Date2017-01-25 08:00 +0100
SubjectRe: [PATCH] memory: tegra: Add a missing 'of_node_put()' call
Message-ID<t3pIL-6NO-15@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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@wanadoo.fr>
> ---
>  drivers/memory/tegra/tegra124-emc.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

Applied, thanks.

Thierry

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web