]> git.baikalelectronics.ru Git - kernel.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)
commitc2e40856a6788e65ae60a422dfe0a2c33b8cc65b
treee53828c33a5b0835241401adc5c706f23bdee921
parentc6a5f8ce499347ed2f274269dc71dee16b2946f5
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