https://github.com/torvalds/linux
Revision 4384247b6910df91049f8d0bbd5c1075898ac290 authored by Al Viro on 23 January 2007, 12:25:08 UTC, committed by Linus Torvalds on 23 January 2007, 19:09:49 UTC
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>
1 parent 0a3c4bd
History
Tip revision: 4384247b6910df91049f8d0bbd5c1075898ac290 authored by Al Viro on 23 January 2007, 12:25:08 UTC
[PATCH] s2io bogus memset
Tip revision: 4384247
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 80.0 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top