diff options
author | Benoit Taine <benoit.taine@lip6.fr> | 2014-05-26 17:21:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 16:23:44 -0700 |
commit | a328512d3cb9e7b5d998eeb2675216edf4407f77 (patch) | |
tree | e53828c33a5b0835241401adc5c706f23bdee921 /drivers/usb/gadget/inode.c | |
parent | a7683eb3af6df30e3a3f3666d834e9abba8f5c22 (diff) | |
download | lwn-a328512d3cb9e7b5d998eeb2675216edf4407f77.tar.gz lwn-a328512d3cb9e7b5d998eeb2675216edf4407f77.zip |
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>
Diffstat (limited to 'drivers/usb/gadget/inode.c')
0 files changed, 0 insertions, 0 deletions