Re: [PATCH] [V2] x86/asm: add __user on copy_user_handle_tail() pointers

2019-03-30 Thread Mukesh Ojha
On 3/30/2019 5:26 PM, Ben Dooks wrote: The copy_user_handle_tail() clearly uses both from and to as pointers to user-space memory. This triggers sparse warning on using the calls to get and put to user-space. This can be fixed easily by changing the call to take __user annotated pointer.s arch

[PATCH] [V2] x86/asm: add __user on copy_user_handle_tail() pointers

2019-03-30 Thread Ben Dooks
The copy_user_handle_tail() clearly uses both from and to as pointers to user-space memory. This triggers sparse warning on using the calls to get and put to user-space. This can be fixed easily by changing the call to take __user annotated pointer.s arch/x86/lib/usercopy_64.c:68:21: warning: inco