]> 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>
Thu, 4 Oct 2012 05:04:04 +0000 (15:04 +1000)
commit4b8aca70da91c639ccaff6d8e1273b585ee39db5
tree7ad8f3a7e0434d7754e86e312cf355cb0f9746ad
parentb6478d15c099abc868230f57f6c7564ab8de9184
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