From: Benoit Taine Date: Mon, 26 May 2014 15:21:25 +0000 (+0200) Subject: HID: uhid: Use kmemdup instead of kmalloc + memcpy X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~6^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=662d4ceae8d45bc8634d9f4c9a9e05ef42041038;p=pandora-kernel.git HID: uhid: Use kmemdup instead of kmalloc + memcpy This issue was reported by coccicheck using the semantic patch at scripts/coccinelle/api/memdup.cocci Signed-off-by: Benoit Taine Reviewed-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed