openrisc: fix __user in raw_copy_to_user()'s prototype
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 22 Jun 2020 12:11:24 +0000 (14:11 +0200)
committerStafford Horne <shorne@gmail.com>
Tue, 4 Aug 2020 01:59:45 +0000 (10:59 +0900)
commit9e9da64124ff37e064a75fabdbd6010787a1e0ea
treedc8b65f2b5f540f6b4683b434037ac8a27a34e60
parentbcf876870b95592b52519ed4aafcf9d95999bc9c
openrisc: fix __user in raw_copy_to_user()'s prototype

raw_copy_to_user()'s prototype seems to be a copy & paste of
raw_copy_from_user() and as such has the __user annotation
in the 'from' argument instead of the 'to'.

So, move the __user annotation in the prototype to the 'to'.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/include/asm/uaccess.h