]> git.karo-electronics.de Git - karo-tx-linux.git/commit
proc: use kzalloc instead of kmalloc and memset
authoryan <clouds.yan@gmail.com>
Thu, 13 Sep 2012 01:01:29 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 10:46:20 +0000 (20:46 +1000)
commit7fa09e8ea6bcf605ef30cc0843c439a02deef506
treed76aca0169b7e8c94e3b7e7ab7552a36389946b9
parent527af78bdff78f5d43a30c915019c9db7869672d
proc: use kzalloc instead of kmalloc and memset

Part of the memory will be written twice after this change, but that
should be negligible.

Signed-off-by: yan <clouds.yan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/generic.c