diff options
author | Dave Penkler <dpenkler@gmail.com> | 2025-01-14 17:54:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-15 18:35:56 +0100 |
commit | 77b41a9342f610b90675a15aea87c8462b900404 (patch) | |
tree | 99a2a65bb326bb2f0c52ab4be9217973dab92b8c /tools/perf/scripts/python/syscall-counts.py | |
parent | d43f18d94795aa9aacb110a60bc4df76e112f77f (diff) |
staging: gpib: Use __iomem attribute for io addresses
In a number of drivers the PCI memory pointers were declared simply as
void *.
This caused sparse to emit the following warning, for example:
agilent_82350b/agilent_82350b.c:44:58: warning: incorrect type in argument 2 (different address spaces)
agilent_82350b/agilent_82350b.c:44:58: expected void volatile [noderef] __iomem *addr
Declare the PCI memory pointers as void __iomem *addr.
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250114165403.16410-2-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