[PATCH 2/2] Use of_get_pci_dev_node() in axon_msi.c

Michael Ellerman michael at ellerman.id.au
Thu Oct 18 11:23:02 EST 2007


On Wed, 2007-10-17 at 04:23 -0700, David Miller wrote:
> From: David Miller <davem at davemloft.net>
> Date: Wed, 17 Oct 2007 04:22:29 -0700 (PDT)
> 
> > From: Michael Ellerman <michael at ellerman.id.au>
> > Date: Wed, 17 Oct 2007 17:12:27 +1000 (EST)
> > 
> > > Use of_get_pci_dev_node() in axon_msi.c. Switch to including <linux/of.h>
> > > so we get the prototype.
> > > 
> > > Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
> > 
> > I find it ironic that you add of_get_pci_dev_node() as a function
> > which gets the node and grabs a reference to it, and then the very
> > first usage you make of it doesn't drop the reference at all.
> 
> Ignore this poor attempt at humor, I misread your patch :)

Well it _would_ have been funny :)

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20071018/1e93dff6/attachment.pgp>


More information about the Linuxppc-dev mailing list