]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
proc: use kzalloc instead of kmalloc and memset
authoryan <clouds.yan@gmail.com>
Wed, 26 Sep 2012 01:34:55 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:28:51 +0000 (17:28 +1000)
commit77200774b008174467899c0ad47d6d3cc78eeb07
treed603a3a4be11fdc4aeb4b872d8c86543fe314de6
parentc66134916afdae04ea6632837555eb2ea2f6ae07
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