linux-stable/arch/arc/mm
Randy Dunlap 87bb275ead 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:50:54 +09:00
..
cache.c ARC: export clear_user_page() for modules 2021-09-22 11:45:35 +02:00
dma.c
extable.c
fault.c
highmem.c
init.c
ioremap.c arc: iounmap() arg is volatile 2022-11-03 23:50:54 +09:00
Makefile
mmap.c
tlb.c ARC: fix build warnings 2019-06-25 11:36:51 +08:00
tlbex.S