aboutsummaryrefslogtreecommitdiff
path: root/arch/um/kernel/stacktrace.c
diff options
context:
space:
mode:
authorStafford Horne <[email protected]>2022-07-29 19:54:08 +0900
committerStafford Horne <[email protected]>2022-07-30 05:50:15 +0900
commit52e0ea900202d23843daee8f7089817e81dd3dd7 (patch)
tree9f69d994f2db7e8e57e4303f59eae4e229f90235 /arch/um/kernel/stacktrace.c
parent3d316164e9a9699c322e003a37f528e8aecda24e (diff)
openrisc: io: Define iounmap argument as volatile
When OpenRISC enables PCI it allows for more drivers to be compiled resulting in exposing the following with -Werror. drivers/video/fbdev/riva/fbdev.c: In function 'rivafb_probe': drivers/video/fbdev/riva/fbdev.c:2062:42: error: passing argument 1 of 'iounmap' discards 'volatile' qualifier from pointer target type drivers/video/fbdev/nvidia/nvidia.c: In function 'nvidiafb_probe': drivers/video/fbdev/nvidia/nvidia.c:1414:20: error: passing argument 1 of 'iounmap' discards 'volatile' qualifier from pointer target type drivers/scsi/aic7xxx/aic7xxx_osm.c: In function 'ahc_platform_free': drivers/scsi/aic7xxx/aic7xxx_osm.c:1231:41: error: passing argument 1 of 'iounmap' discards 'volatile' qualifier from pointer target type Most architectures define the iounmap argument to be volatile. To fix this issue we do the same for OpenRISC. This patch must go before PCI is enabled on OpenRISC to avoid any compile failures. Link: https://lore.kernel.org/lkml/[email protected]/ Reported-by: Guenter Roeck <[email protected]> Tested-by: Guenter Roeck <[email protected]> Signed-off-by: Stafford Horne <[email protected]>
Diffstat (limited to 'arch/um/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions