diff options
author | 2025-01-14 17:54:01 +0100 | |
---|---|---|
committer | 2025-01-15 18:35:56 +0100 | |
commit | 8e7ff4e7a2358fbbe3a5bbdb733e5cf5868cf1ff (patch) | |
tree | 67dd084bfa167d923f443e52f0cade450c5bc1ff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: gpib: Use __iomem attribute for io addresses (diff) | |
download | wireguard-linux-8e7ff4e7a2358fbbe3a5bbdb733e5cf5868cf1ff.tar.xz wireguard-linux-8e7ff4e7a2358fbbe3a5bbdb733e5cf5868cf1ff.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions