commit | f58e76c1c551c7577b25a6fe493d82f5214331b7 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@wdc.com> | Wed Aug 23 15:29:10 2017 -0700 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Aug 31 17:32:39 2017 -0400 |
tree | b63fec187cfabb2afc18c97f35d667962df114f9 | |
parent | ddef7ed2b5cbafae692d1d580bb5a07808926a9c [diff] |
<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>