[Cbe-oss-dev] [PATCH 2:10] spufs: fix freeing of spu switch log

Luke Browning lukebr at linux.vnet.ibm.com
Fri May 23 09:02:02 EST 2008


On Fri, 2008-05-23 at 11:18 +1000, Michael Ellerman wrote:

> 
> I'm not sure what you're fixing, kfree(NULL) is perfectly fine. If ctx
> can be NULL you need to check for that though.
> 
> cheers
> 
oh, didn't know that kfree(NULL) worked.  

Luke




More information about the cbe-oss-dev mailing list