[PATCH 06/18] Make ft_node_add() accept and return NULL.

Segher Boessenkool segher at kernel.crashing.org
Thu Jan 25 10:53:05 EST 2007

>> 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()?

Well a node _is_ a phandle (at some abstraction level).  How
about ft_node_get()?


More information about the Linuxppc-dev mailing list