commit | 915f0a8d2884d05538ae5c06e09f40d364fa2c3f | [log] [tgz] |
---|---|---|
author | Adam Borowski <kilobyte@angband.pl> | Sat Jun 03 09:35:07 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 09 11:07:36 2017 +0200 |
tree | d30b6abab427a4fb5a63202c7c1613aaed409768 | |
parent | 6987dc8a70976561d22450b5858fc9767788cc1c [diff] |
vt: use copy_to_user instead of __put_user in GIO_UNIMAP ioctl A nice big linear transfer, no need to flip stac/PAN/etc every half-entry. Also, yay __put_user() after checking only read. Signed-off-by: Adam Borowski <kilobyte@angband.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>