[PATCH] Add missing of_node_put() in mpc86xx_hpcn_init_irq().

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE7142d

2 messages, 2 authors, 2007-02-17 · open the first message on its own page

[PATCH] Add missing of_node_put() in mpc86xx_hpcn_init_irq().

From: Jon Loeliger <hidden>
Date: 2007-02-16 22:17:44

Signed-off-by: Jon Loeliger <redacted>

---
 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
index 030f9b2..f42f801 100644
--- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
+++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
@@ -119,6 +119,8 @@ mpc86xx_hpcn_init_irq(void)
 	DBG("mpc86xxhpcn: cascade mapped to irq %d\n", cascade_irq);
 
 	i8259_init(cascade_node, 0);
+	of_node_put(cascade_node);
+
 	set_irq_chained_handler(cascade_irq, mpc86xx_8259_cascade);
 #endif
 }
-- 
1.5.0.rc3.ge4b0e

Re: [PATCH] Add missing of_node_put() in mpc86xx_hpcn_init_irq().

From: Kumar Gala <hidden>
Date: 2007-02-17 00:24:57

On Fri, 16 Feb 2007, Jon Loeliger wrote:
Signed-off-by: Jon Loeliger <redacted>
applied.

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help