]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: storage: ene_ub6250: Use kmemdup instead of kmalloc + memcpy
authorBenoit Taine <benoit.taine@lip6.fr>
Mon, 26 May 2014 15:21:10 +0000 (17:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 23:23:44 +0000 (16:23 -0700)
commita328512d3cb9e7b5d998eeb2675216edf4407f77
treee53828c33a5b0835241401adc5c706f23bdee921
parenta7683eb3af6df30e3a3f3666d834e9abba8f5c22
USB: storage: ene_ub6250: 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 <benoit.taine@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/ene_ub6250.c