diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-24 00:29:10 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-08-31 23:32:39 +0200 |
commit | f58e76c1c551c7577b25a6fe493d82f5214331b7 (patch) | |
tree | b63fec187cfabb2afc18c97f35d667962df114f9 /block/compat_ioctl.c | |
parent | annotate RWF_... flags (diff) | |
download | linux-f58e76c1c551c7577b25a6fe493d82f5214331b7.tar.xz linux-f58e76c1c551c7577b25a6fe493d82f5214331b7.zip |
<linux/uaccess.h>: Fix copy_in_user() declaration
copy_in_user() copies data from user-space address @from to user-
space address @to. Hence declare both @from and @to as user-space
pointers.
Fixes: commit d597580d3737 ("generic ...copy_..._user primitives")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions