[PATCH 2/2] fsl/embedded6xx: don't cast the result of of_get_property

Stephen Rothwell sfr at canb.auug.org.au
Wed Sep 26 10:59:18 EST 2007


On Wed, 26 Sep 2007 10:52:23 +1000 Jeremy Kerr <jk at ozlabs.org> wrote:
>
> Stephen,
> 
> > If you don't use the value of the len variable, then you can pass
> > NULL to of_get_property.
> 
> Sure, but that's probably a separate patch, no ?

OK.

> > Not *phys_addr?
> 
> That's what the existing code does. I'm guessing that it treats 
> phys_addr as an array with one entry, not a single u32.

OK.

-- 
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: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070926/636562ee/attachment.pgp>


More information about the Linuxppc-dev mailing list