[PATCH 06/18] Make ft_node_add() accept and return NULL.
Scott Wood
scottwood at freescale.com
Thu Jan 25 10:41:42 EST 2007
Segher Boessenkool wrote:
> But doesn't ft_add_node() add a node to the tree? If so,
> a NULL is most likely a program error. If not, some name
> change is in order /me thinks ;-)
No, it adds the node to the phandle->internal pointer lookup table (or
returns the existing phandle if it's already there). And yes, it could
use a better name -- how about ft_node_to_phandle()?
-Scott
More information about the Linuxppc-dev
mailing list