diff options
| author | Luc Van Oostenryck <[email protected]> | 2020-05-29 19:02:18 +0000 |
|---|---|---|
| committer | Greg Ungerer <[email protected]> | 2020-05-30 00:55:54 +0000 |
| commit | 9e2b6ed41f8f99c97b13c9d15cbef235dbd97fb6 (patch) | |
| tree | 05826c18ec20838f6da80b61e70106dcedfa076e /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | m68k,nommu: add missing __user in uaccess' __ptr() macro (diff) | |
| download | kernel-9e2b6ed41f8f99c97b13c9d15cbef235dbd97fb6.tar.gz kernel-9e2b6ed41f8f99c97b13c9d15cbef235dbd97fb6.zip | |
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 <[email protected]>
Signed-off-by: Luc Van Oostenryck <[email protected]>
Signed-off-by: Greg Ungerer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
