[PATCH 06/18] bootwrapper: Make ft_get_phandle() accept and return NULL.
Scott Wood
scottwood at freescale.com
Wed Jan 31 06:51:20 EST 2007
Segher Boessenkool wrote:
>> Currently, if ft_get_phandle() is passed NULL it will allocate an entry
>> for it and return a non-NULL phandle. This patch makes it simply pass
>> the NULL through.
>
>
> Seems like an obvious bug fix to me -- I assume you
> audited all callers? Although I can't imagine
> anything relying on such weird behaviour ;-)
The only caller that existed before my patches was ft_find_device(),
which was only used to implement dt_ops.finddevice().
-Scott
More information about the Linuxppc-dev
mailing list