esas2r: don't bother with __copy_to_user()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Feb 2020 15:37:13 +0000 (10:37 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 23 Apr 2020 17:55:06 +0000 (13:55 -0400)
commit3d3185ae593de8d4887535e095c9dca0bd689419
treee6aeed975147e849907c9876605de03fd49bcc2c
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
esas2r: don't bother with __copy_to_user()

sure, we'd done copy_from_user() on the same range, so we can
skip access_ok()... and it's not worth bothering.  Just use
copy_to_user().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/scsi/esas2r/esas2r_ioctl.c