diff options
| author | kernel test robot <[email protected]> | 2021-03-08 15:09:51 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-23 15:24:26 +0100 |
| commit | 423432072d163acf0089bf2821d98404539d7d4c (patch) | |
| tree | ca9d3369e1778049e186c05dd01de5733e953136 /tools/perf/scripts/python | |
| parent | f2b6ebf61e8fcd0b1f03a084d39742b1f6113ac4 (diff) | |
USB: gadget: f_fs: fix memdup_user.cocci warnings
drivers/usb/gadget/function/f_fs.c:3829:8-15: WARNING opportunity for memdup_user
Use memdup_user rather than duplicating its implementation
This is a little bit restricted to reduce false positives
Generated by: scripts/coccinelle/api/memdup_user.cocci
Fixes: 8704fd73bf56 ("USB: gadget: f_fs: remove likely/unlikely")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/r/20210308070951.GA83949@8a16bdd473dc
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions