diff options
| author | Al Viro <[email protected]> | 2019-10-17 20:39:23 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-11-06 00:04:03 -0500 |
| commit | c8c12792d5fe11375af54c6bbbbebdda105eb933 (patch) | |
| tree | 0ec183ce5de9f2b123972ae34d01b6f16569860b /tools/perf/scripts/python | |
| parent | d9fc5617bcb6f8278ffedd0f25bfbb697da5ca87 (diff) | |
scsi: sg: sg_read(): get rid of access_ok()/__copy_..._user()
Use copy_..._user() instead, both in sg_read() and in sg_read_oxfer(). And
don't open-code memdup_user()...
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Al Viro <[email protected]>
Acked-by: Douglas Gilbert <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions