linux_dsm_epyc7002/arch/m68k/include
Luc Van Oostenryck ce3e83759c m68k,nommu: add missing __user in uaccess' __ptr() macro
The assembly for __get_user() & __put_user() uses a macro, __ptr(),
to cast the pointer to 'unsigned long *' but the pointer is always
a __user one and so this cast creates a lot of warnings when using
Sparse.

So, change to the cast to 'unsigned long __user *'.

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:51:54 +10:00
..
asm m68k,nommu: add missing __user in uaccess' __ptr() macro 2020-05-30 10:51:54 +10:00
uapi/asm treewide: Add SPDX license identifier - Kbuild 2019-05-30 11:32:33 -07:00