s2io bogus memset
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 23 Jan 2007 12:25:08 +0000 (12:25 +0000)
committerJeff Garzik <jeff@garzik.org>
Tue, 23 Jan 2007 21:26:33 +0000 (16:26 -0500)
commit3196265e97c661d9e9be04d5d64ca8ff3186536d
treecd99642b956a7d8a16751de28a3c778e291426c2
parent184231bdb41fc4c385ae8e115f5afaff02fe1690
s2io bogus memset

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@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/s2io.c