public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] edac: cell_edac: fix missing of_node_put
@ 2013-08-26  6:53 Libo Chen
  2013-11-14 19:25 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 2+ messages in thread
From: Libo Chen @ 2013-08-26  6:53 UTC (permalink / raw)
  To: dougthompson; +Cc: linux-edac, LKML, Greg KH, mchehab, Li Zefan


decrease device_node refcount np after task completion

Signed-off-by: Libo Chen <libo.chen@huawei.com>
---
 drivers/edac/cell_edac.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/edac/cell_edac.c b/drivers/edac/cell_edac.c
index c2eaf33..493dc30 100644
--- a/drivers/edac/cell_edac.c
+++ b/drivers/edac/cell_edac.c
@@ -162,6 +162,7 @@ static void cell_edac_init_csrows(struct mem_ctl_info *mci)
 			csrow->first_page, nr_pages);
 		break;
 	}
+	of_node_put(np);
 }

 static int cell_edac_probe(struct platform_device *pdev)
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] edac: cell_edac: fix missing of_node_put
  2013-08-26  6:53 [PATCH] edac: cell_edac: fix missing of_node_put Libo Chen
@ 2013-11-14 19:25 ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2013-11-14 19:25 UTC (permalink / raw)
  To: Libo Chen; +Cc: dougthompson, linux-edac, LKML, Greg KH, mchehab, Li Zefan

Em Mon, 26 Aug 2013 14:53:43 +0800
Libo Chen <clbchenlibo.chen@huawei.com> escreveu:

> 
> decrease device_node refcount np after task completion
> 
> Signed-off-by: Libo Chen <libo.chen@huawei.com>


Applied.

Patch is at:
	http://git.infradead.org/users/mchehab/edac.git
and
	http://git.kernel.org/cgit/linux/kernel/git/mchehab/linux-edac.git

> ---
>  drivers/edac/cell_edac.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/edac/cell_edac.c b/drivers/edac/cell_edac.c
> index c2eaf33..493dc30 100644
> --- a/drivers/edac/cell_edac.c
> +++ b/drivers/edac/cell_edac.c
> @@ -162,6 +162,7 @@ static void cell_edac_init_csrows(struct mem_ctl_info *mci)
>  			csrow->first_page, nr_pages);
>  		break;
>  	}
> +	of_node_put(np);
>  }
> 
>  static int cell_edac_probe(struct platform_device *pdev)


-- 

Cheers,
Mauro

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-14 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-26  6:53 [PATCH] edac: cell_edac: fix missing of_node_put Libo Chen
2013-11-14 19:25 ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox