From: yan Date: Fri, 5 Oct 2012 00:15:43 +0000 (-0700) Subject: proc: use kzalloc instead of kmalloc and memset X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~12^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17baa2a2c40f2f0330d25819b589a515d36b2d40;p=pandora-kernel.git proc: use kzalloc instead of kmalloc and memset Part of the memory will be written twice after this change, but that should be negligible. [akpm@linux-foundation.org: fix __proc_create() coding-style issues, remove unneeded zero-initialisations] Signed-off-by: yan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed