[PATCH linux-next] powerpc/chrp: Add missing of_node_put in pci.c

Stephen Rothwell sfr at canb.auug.org.au
Wed Dec 3 09:58:05 EST 2008


On Tue, 2 Dec 2008 14:34:46 +0100 Nicolas Palix <npalix at diku.dk> wrote:
>
> 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.
> 
> Signed-off-by: Nicolas Palix <npalix at diku.dk>
> Signed-off-by: Julia Lawall <julia at diku.dk>

Acked-by: Stephen Rothwell <sfr at canb.auug.org.au>

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20081203/32ccfc08/attachment.pgp>


More information about the Linuxppc-dev mailing list