[PATCH 2/2] fsl/embedded6xx: don't cast the result of of_get_property
Kumar Gala
galak at kernel.crashing.org
Wed Sep 26 06:27:30 EST 2007
On Sep 14, 2007, at 12:46 AM, Jeremy Kerr wrote:
> Use a temporary variable of the correct type instead.
>
> Also, this allows us to check the return value in ls_uarts_init, to
> avoid dereferencing a null pointer if required properties aren't
> present.
>
> Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
Can I get you to respin this against for-2.6.24. For some reason
this doesn't apply cleanly for me.
- k
More information about the Linuxppc-dev
mailing list