Files
android_kernel_xiaomi_sm8450/arch/m68k
Luc Van Oostenryck 9e2b6ed41f m68k,nommu: fix implicit cast from __user in __{get,put}_user_asm()
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() expects
a plain 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
argument.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
2020-05-30 10:55:54 +10:00
..
2020-03-27 10:23:43 -06:00
2019-10-21 09:08:15 +02:00
2020-01-14 10:43:38 +01:00
2020-03-09 11:12:19 +01:00
2020-03-09 11:12:19 +01:00
2020-03-09 11:12:19 +01:00