android_kernel_motorola_sm6375/arch/arc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Randy Dunlap ccaeef126e arc: iounmap() arg is volatile
[ 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>
2022-11-03 23:56:54 +09:00
..
boot ARC: build: move symlink creation to arch/arc/Makefile to avoid race 2021-01-19 18:26:14 +01:00
configs
include arc: iounmap() arg is volatile 2022-11-03 23:56:54 +09:00
kernel ARC: entry: fix syscall_trace_exit argument 2022-04-27 13:50:49 +02:00
lib
mm arc: iounmap() arg is volatile 2022-11-03 23:56:54 +09:00
oprofile
plat-axs10x
plat-eznps irqchip/eznps: Fix build error for !ARC700 builds 2020-09-17 13:47:47 +02:00
plat-hsdk arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER 2020-10-29 09:57:47 +01:00
plat-sim
plat-tb10x
Kbuild
Kconfig ARC: wireup clone3 syscall 2021-09-12 08:56:40 +02:00
Kconfig.debug
Makefile ARC: build: move symlink creation to arch/arc/Makefile to avoid race 2021-01-19 18:26:14 +01:00