summaryrefslogtreecommitdiffstats
path: root/lib/parman.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-10-17 21:39:23 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2019-11-06 06:04:03 +0100
commitc8c12792d5fe11375af54c6bbbbebdda105eb933 (patch)
tree0ec183ce5de9f2b123972ae34d01b6f16569860b /lib/parman.c
parentscsi: sg: sg_new_write(): don't bother with access_ok (diff)
downloadlinux-c8c12792d5fe11375af54c6bbbbebdda105eb933.tar.xz
linux-c8c12792d5fe11375af54c6bbbbebdda105eb933.zip
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/20191017193925.25539-6-viro@ZenIV.linux.org.uk Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/parman.c')
0 files changed, 0 insertions, 0 deletions