Thread (5 messages) flat view 5 messages, 4 authors, 2008-01-24

Re: [PATCH 3/4 v4] POWERPC: Add initial iomega StorCenter board port.

From: Jon Loeliger <hidden>
Date: 2008-01-24 15:07:40

Stephen Rothwell wrote:
Hi Jon,
quoted
+
+	dnp = of_find_node_by_type(NULL, "open-pic");
+	if (dnp == NULL)
+		return;
+
+	prop = of_get_property(dnp, "reg", &size);
+	if (prop == NULL)
+		return;
You need an of_node_put(dnp) before you return.
"Damn your eyes!"

Kumar, I'll send you a patch here...

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