<linux/uaccess.h>: Fix copy_in_user() declaration
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 23 Aug 2017 22:29:10 +0000 (15:29 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 31 Aug 2017 21:32:39 +0000 (17:32 -0400)
commitf58e76c1c551c7577b25a6fe493d82f5214331b7
treeb63fec187cfabb2afc18c97f35d667962df114f9
parentddef7ed2b5cbafae692d1d580bb5a07808926a9c
<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>
include/linux/uaccess.h