Hi Luc,
On 29/5/20 6:25 am, Luc Van Oostenryck wrote:
The assembly for __get_user_asm() & __put_user_asm() uses memcpy()
when the size is 8.
However, the pointer is always a __user one while memcpy() expect
a plan one and so this cast creates a lot of warnings when using
Did you mean
The assembly for __get_user_asm() & __put_user_asm() uses memcpy()
when the size is 8.
However, the pointer is always a __user one while memcpy() expect
a plan one and so this cast creates a lot of warnings when using
Sparse.
So, fix this by adding a cast to 'void __force *' at memcpy()'s
2 matches
Mail list logo