]> git.karo-electronics.de Git - karo-tx-linux.git/commit
proc: use kzalloc instead of kmalloc and memset
authoryan <clouds.yan@gmail.com>
Fri, 7 Sep 2012 00:25:07 +0000 (10:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 05:36:36 +0000 (15:36 +1000)
commitd621bdcffa1fcac9da452f5a5d6085d53ea6439f
tree160e27ff8ab967fc62ddaf7e6c2239091001c23c
parent50a3fb039e17cbeb58ea15bd6b9502136d7ed0d5
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