diff options
| author | Luc Van Oostenryck <[email protected]> | 2020-05-29 19:02:17 +0000 |
|---|---|---|
| committer | Greg Ungerer <[email protected]> | 2020-05-30 00:51:54 +0000 |
| commit | ce3e83759c674ae7c04938d3577dbf0f3144c8f0 (patch) | |
| tree | f4e00434f2d46cc2f4090a229102152c8288b754 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | m68k: Drop CONFIG_MTD_M25P80 in stmark2_defconfig (diff) | |
| download | kernel-ce3e83759c674ae7c04938d3577dbf0f3144c8f0.tar.gz kernel-ce3e83759c674ae7c04938d3577dbf0f3144c8f0.zip | |
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 <[email protected]>
Signed-off-by: Luc Van Oostenryck <[email protected]>
Signed-off-by: Greg Ungerer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
