Re: [PATCH linux-next] sparc: Add missing of_node_put

From: David Miller
Date: Thu Dec 04 2008 - 00:12:07 EST


From: Nicolas Palix <npalix@xxxxxxx>
Date: Tue, 2 Dec 2008 11:30:06 +0100

>
> of_node_put is needed before discarding a value received from
> of_find_node_by_name, eg in error handling code or when the device
> node is no longer used.

Applied to sparc-next-2.6, thanks.

I'm not going to add this to sparc-2.6 or stable, it doesn't
fix any real bugs on sparc (no hot plugged OF nodes, ever)
and adding it to sparc-2.6 would potentitally create some
difficult conflicts in sparc-next-2.6 since we're just finishing
a full merge of arch/sparc64 into arch/sparc there.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/