Thread (64 messages) flat view 64 messages, 10 authors, 2008-02-15

Re: [PATCH 3/8] pseries: phyp dump: use sysfs to release reserved mem

From: Stephen Rothwell <hidden>
Date: 2008-02-12 10:08:23

Hi Manish,

Just a small comment.

On Tue, 12 Feb 2008 01:11:58 -0600 Manish Ahuja [off-list ref] wrote:
+	/* Is there dump data waiting for us? */
+	rtas = of_find_node_by_path("/rtas");
+	dump_header = of_get_property(rtas, "ibm,kernel-dump", &header_len);
You need an of_node_put(rtas) here.
+	if (dump_header == NULL) {
+		release_all();
+		return 0;
+	}
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Attachments

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