Re: [PATCH] openrisc: fix __user in raw_copy_to_user()'s prototype

2020-06-25 Thread Stafford Horne
On Mon, Jun 22, 2020 at 02:11:24PM +0200, Luc Van Oostenryck wrote: > 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

[PATCH] openrisc: fix __user in raw_copy_to_user()'s prototype

2020-06-22 Thread Luc Van Oostenryck
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 Signed-off-by: Luc Van Oostenryck ---