From: Alexandru Gheorghiu Date: Sat, 9 Mar 2013 11:57:28 +0000 (+0200) Subject: fs: pstore: Replaced calls to kmalloc and memcpy with kmemdup X-Git-Tag: v3.10-rc1~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeb65d9cb5159752e672b5164110838bb5936a4a;p=pandora-kernel.git fs: pstore: Replaced calls to kmalloc and memcpy with kmemdup Replaced calls to kmalloc and memcpy with a single call to kmemdup. This patch was found using coccicheck. Signed-off-by: Alexandru Gheorghiu Acked-by: Kees Cook Signed-off-by: Tony Luck --- Reading git-diff-tree failed