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

Kumar Gala
2007-09-25T20:27:30Z

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@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