Subject: Re: [PATCH 06/18] bootwrapper: Make ft_get_phandle() accept and return NULL.

From: Scott Wood <[email-masked]>
Date: Tue, 30 Jan 2007 13:51:20 -0600

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