From: Benoit Taine Date: Mon, 26 May 2014 15:21:20 +0000 (+0200) Subject: usb: gadget: Use kmemdup instead of kmalloc + memcpy X-Git-Tag: cleanup-for-v3.18~123^2~18^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58b949e0842a4751eec77edd60bd6178cef5b8de;p=pandora-kernel.git usb: gadget: 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed