edac: cell_edac: fix missing of_node_put
PATCH 1/1 edac: cell_edac: fix missing of_node_put
decrease device_node refcount np after task completion
Signed-off-by Libo Chen <[email protected]>
--- drivers/edac/cell_edac.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/edac/cell_edac.c +1 -0
@@ -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)
Signature · 1 line
1.7.1
Mauro Carvalho Chehab
AppliedEm Mon, 26 Aug 2013 14:53:43 +0800
Libo Chen <[email protected]> escreveu:
Quoted 4 lines
decrease
device_noderefcount np after task completionSigned-off-by Libo Chen <[email protected]>
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
Quoted 16 lines
--- drivers/edac/cell_edac.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/edac/cell_edac.c +1
-0@@ -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)
Signature · 2 lines
Cheers, Mauro