From c53026722b5e5aaaf434565ddbe4d918c7d2a80d Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghiu Date: Sat, 9 Mar 2013 13:57:28 +0200 Subject: [PATCH] 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-format-patch failed