]> err.no Git - linux-2.6/commit
[PATCH] s2io bogus memset
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 23 Jan 2007 12:25:08 +0000 (12:25 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 23 Jan 2007 19:09:49 +0000 (11:09 -0800)
commit4384247b6910df91049f8d0bbd5c1075898ac290
tree954249cc28ac8bd3cfc5f61de344d92dc58687f5
parent0a3c4bdc1b197a7d37fc75643a68daf45fe0a7cc
[PATCH] 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: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/s2io.c