diff options
author | Adam Borowski <kilobyte@angband.pl> | 2017-06-03 09:35:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 11:07:36 +0200 |
commit | 915f0a8d2884d05538ae5c06e09f40d364fa2c3f (patch) | |
tree | d30b6abab427a4fb5a63202c7c1613aaed409768 /drivers/thermal/power_allocator.c | |
parent | 6987dc8a70976561d22450b5858fc9767788cc1c (diff) | |
download | linux-915f0a8d2884d05538ae5c06e09f40d364fa2c3f.tar.bz2 |
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>
Diffstat (limited to 'drivers/thermal/power_allocator.c')
0 files changed, 0 insertions, 0 deletions