From: Alexandru Gheorghiu Date: Sat, 9 Mar 2013 11:57:28 +0000 (+0200) Subject: pstore: Replace calls to kmalloc and memcpy with kmemdup X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~53^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c53026722b5e5aaaf434565ddbe4d918c7d2a80d;p=pandora-kernel.git pstore: Replace 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: Anton Vorontsov --- Reading git-diff-tree failed