Ubuntu-focal-kernel/arch/arc
Randy Dunlap f8b977725b arc: iounmap() arg is volatile
BugLink: https://bugs.launchpad.net/bugs/1999179

[ Upstream commit c44f15c1c09481d50fd33478ebb5b8284f8f5edb ]

Add 'volatile' to iounmap()'s argument to prevent build warnings.
This make it the same as other major architectures.

Placates these warnings: (12 such warnings)

../drivers/video/fbdev/riva/fbdev.c: In function 'rivafb_probe':
../drivers/video/fbdev/riva/fbdev.c:2067:42: error: passing argument 1 of 'iounmap' discards 'volatile' qualifier from pointer target type [-Werror=discarded-qualifiers]
 2067 |                 iounmap(default_par->riva.PRAMIN);

Fixes: 1162b0701b ("ARC: I/O and DMA Mappings")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Vineet Gupta <vgupta@kernel.org>
Cc: linux-snps-arc@lists.infradead.org
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2023-01-06 08:44:39 -08:00
..
boot ARC: build: move symlink creation to arch/arc/Makefile to avoid race 2021-02-19 16:44:44 +01:00
configs
include arc: iounmap() arg is volatile 2023-01-06 08:44:39 -08:00
kernel ARC: entry: fix syscall_trace_exit argument 2022-06-22 14:50:55 +02:00
lib
mm arc: iounmap() arg is volatile 2023-01-06 08:44:39 -08:00
oprofile
plat-axs10x
plat-eznps
plat-hsdk arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER 2020-11-09 14:48:55 +01:00
plat-sim
plat-tb10x
Kbuild
Kconfig ARC: wireup clone3 syscall 2021-10-01 11:34:01 +02:00
Kconfig.debug
Makefile ARC: build: move symlink creation to arch/arc/Makefile to avoid race 2021-02-19 16:44:44 +01:00