linux-stable/arch/arc/mm
Randy Dunlap 08c246c7df 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:59:15 +09:00
..
cache.c ARC: retire MMUv1 and MMUv2 support 2021-08-24 14:25:47 -07:00
dma.c dma-mapping: merge <linux/dma-noncoherent.h> into <linux/dma-map-ops.h> 2020-10-06 07:07:06 +02:00
extable.c arc: use generic strncpy/strnlen from_user 2021-07-23 14:40:01 +02:00
fault.c ARC: mm: vmalloc sync from kernel to user table to update PMD ... 2021-08-26 13:43:19 -07:00
highmem.c arc/mm/highmem: Use generic kmap atomic implementation 2020-11-06 23:14:55 +01:00
init.c ARC: mm: support 4 levels of page tables 2021-08-26 13:43:19 -07:00
ioremap.c arc: iounmap() arg is volatile 2022-11-03 23:59:15 +09:00
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mmap.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tlb.c ARC: mm: support 3 levels of page tables 2021-08-26 13:43:19 -07:00
tlbex.S ARC: mm: support 4 levels of page tables 2021-08-26 13:43:19 -07:00