Re: [PATCH]use kzalloc in vfs where appropriate

From: Pekka J Enberg
Date: Mon Mar 20 2006 - 08:21:12 EST

On Mon, 20 Mar 2006, Oliver Neukum wrote:
> Why? size == 0 is a bug. We want to oops here.

Why do you want to oops? The standard calloc() deals with zero so
kcalloc() should probably do that as well. In any case, if you want to
change the behavior, please audit kcalloc() callers before optimizing.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at