diff options
author | Dave Penkler <dpenkler@gmail.com> | 2025-01-14 17:54:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-15 18:35:56 +0100 |
commit | 8e7ff4e7a2358fbbe3a5bbdb733e5cf5868cf1ff (patch) | |
tree | 67dd084bfa167d923f443e52f0cade450c5bc1ff /tools/perf/scripts/python/syscall-counts.py | |
parent | 77b41a9342f610b90675a15aea87c8462b900404 (diff) |
staging: gpib: Use __user for user space pointers
The user buffers in copy_from_user, copy_to_user and some file ops
did not use the __user address space attribute.
This led to the following sparse warning, for example:
common/gpib_os.c:838:40: warning: incorrect type in argument 2 (different address spaces)
common/gpib_os.c:838:40: expected void const [noderef] __user *from
common/gpib_os.c:838:40: got void *
Add the __user address space attribute where needed.
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250114165403.16410-3-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions