]> git.karo-electronics.de Git - karo-tx-linux.git/commit
proc: use kzalloc instead of kmalloc and memset
authoryan <clouds.yan@gmail.com>
Fri, 21 Sep 2012 01:03:26 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 24 Sep 2012 13:45:35 +0000 (23:45 +1000)
commitc168d481ac4116a1c19cd74947449178ee775ccb
treea1fbdb33bbf3bb5ba8cfe45f903f953b9dfa3ff3
parent9aa4161f58edbeb447f9233321961ab956dcc31d
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