diff options
| author | Rahul Pathak <[email protected]> | 2015-12-11 05:40:51 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-01-24 19:45:09 -0800 |
| commit | 73a02d32458ecff5b6241e7e7bd6445f70400bad (patch) | |
| tree | 672ef20a15ed376922c912593be4ee5e3f47a04a /tools/perf/scripts/python/stat-cpi.py | |
| parent | 64f10edf0751727154e843e8bcf59fb659e579a2 (diff) | |
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 <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions