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

Segher Boessenkool segher at kernel.crashing.org
Thu Jan 25 08:48:04 EST 2007


> Currently, if ft_node_add() 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.

Hrm, is this a good thing?  Shouldn't you just BUG_ON()
instead?


Segher




More information about the Linuxppc-dev mailing list