diff options
author | Rahul Pathak <rpathak@visteon.com> | 2015-12-11 06:40:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-25 04:45:09 +0100 |
commit | 73a02d32458ecff5b6241e7e7bd6445f70400bad (patch) | |
tree | 672ef20a15ed376922c912593be4ee5e3f47a04a /drivers/usb/core/hcd.c | |
parent | usb: core: devio.c: Removed unnecessary space (diff) | |
download | linux-73a02d32458ecff5b6241e7e7bd6445f70400bad.tar.xz linux-73a02d32458ecff5b6241e7e7bd6445f70400bad.zip |
usb: Use memdup_user to reuse the code
Fixing coccicheck warning which recommends to use memdup_user instead
to reimplement its code, using memdup_user simplifies the code
./drivers/usb/core/devio.c:1398:11-18: WARNING opportunity for memdup_user
Signed-off-by: Rahul Pathak <rpathak@visteon.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/hcd.c')
0 files changed, 0 insertions, 0 deletions