linux-stable/arch/arc
Randy Dunlap 0adda6e123 arc: iounmap() arg is volatile
[ Upstream commit c44f15c1c0 ]

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>
2022-11-03 23:49:17 +09:00
..
boot ARC: [plat-axs10x]: Add missing multicast filter number to GMAC node 2020-02-14 16:31:09 -05:00
configs ARC: [zebu] Remove CONFIG_INITRAMFS_SOURCE from defconfigs 2018-12-13 09:20:26 +01:00
include arc: iounmap() arg is volatile 2022-11-03 23:49:17 +09:00
kernel ARC: entry: fix syscall_trace_exit argument 2022-04-27 13:14:11 +02:00
lib ARCv2: lib: memcpy: fix doing prefetchw outside of buffer 2019-03-23 13:19:43 +01:00
mm arc: iounmap() arg is volatile 2022-11-03 23:49:17 +09:00
oprofile
plat-axs10x ARC updates for 4.7-rc1 2016-05-19 09:46:18 -07:00
plat-eznps irqchip/eznps: Fix build error for !ARC700 builds 2020-09-23 08:46:10 +02:00
plat-sim ARCv2: Add support for ZeBu Emulation platform for HS cores 2016-09-30 14:48:15 -07:00
plat-tb10x
Kbuild
Kconfig ARC: fix allnoconfig build warning 2019-07-10 09:55:44 +02:00
Kconfig.debug
Makefile ARC: build: add boot_targets to PHONY 2021-01-23 15:38:16 +01:00