Re: [PATCH] Conversions from kmalloc+memset to k(z|c)alloc.

From: John W. Linville
Date: Tue Jul 18 2006 - 23:04:29 EST


On Wed, Jul 19, 2006 at 03:15:40AM +0200, Panagiotis Issaris wrote:
> From: Panagiotis Issaris <takis@xxxxxxxxxxx>
>
> Conversions from kmalloc+memset to k(z|c)alloc. The original memsets
> did not clear out the entire allocated structure. To my unexperienced
> eye, that seemed a bit fishy (or at least a bit weird and inconsistent).
>
> Signed-off-by: Panagiotis Issaris <takis@xxxxxxxxxxx>

Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>

--
John W. Linville
linville@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/