On Feb 14, 2012, at 11:34 AM, Christoph Lameter wrote: > You can if you check the results later. A zero size return would be an > indication of an error. No need to pass it on to kmalloc.
Maybe I misunderstood something here. How do you not pass it to kmalloc() with kmalloc(SAFE_ARRAY_SIZE(n, size), ...)?