Re: [PATCH] s2io bogus memset

From: Jeff Garzik
Date: Tue Jan 23 2007 - 16:27:39 EST


Al Viro wrote:
memset() after kmalloc() on size * 8 would better be on size * 8, not
just size; fixed by switching to kcalloc() - it's more idiomatic anyway.

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

applied


-
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/