diff options
author | 2015-08-07 13:18:20 +1000 | |
---|---|---|
committer | 2015-08-12 14:49:29 +1000 | |
commit | 83c3fee7e78f5a937b734f1ba954c5cdcb2be755 (patch) | |
tree | 55ec65efe0c94bf5aac238b20b11878e846eb330 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cxl: sparse: Make declarations static (diff) | |
download | linux-dev-83c3fee7e78f5a937b734f1ba954c5cdcb2be755.tar.xz linux-dev-83c3fee7e78f5a937b734f1ba954c5cdcb2be755.zip |
cxl: sparse: Silence iomem warning in debugfs file creation
An IO address, tagged with __iomem, is passed to debugfs_create_file
as private data. This requires that it be cast to void *. The cast
drops the __iomem annotation and so creates a sparse warning:
drivers/misc/cxl/debugfs.c:51:57: warning: cast removes address space of expression
The address space marker is added back in the file operations
(fops_io_u64).
Silence the warning with __force.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions