]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
proc: use kzalloc instead of kmalloc and memset
authoryan <clouds.yan@gmail.com>
Fri, 28 Sep 2012 00:22:17 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:51:00 +0000 (16:51 +1000)
commitdbc6277f7b0a66976a64549e72c4f2686cbc4ca8
treea8ef6f0a269eab95e2c4f1b57a9a99bbc8fdf735
parent372116b0791554e0109c47b2f5c340e7b8a6f633
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