Cc: Pekka Enberg <penberg@...>, Satyam Sharma <satyam@...>, Andrew Morton <akpm@...>, Arjan van de Ven <arjan@...>, Tim Bird <tim.bird@...>, linux kernel <linux-kernel@...>
I believe his first name started with an L and ended with an s ;-)
Seriously the kmalloc(0) pointer allowed us to detect cases in which
people tried to store into objects allocated with kmalloc(0).
If we would just return NULL then we would not be able to distinguish it
from a failure (that is what I initially had).
-