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 <[email protected]>
Cc: Vineet Gupta <[email protected]>
Cc: [email protected]
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2022-11-03 23:56:54 +09:00
..
boot
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
plat-hsdk
plat-sim
plat-tb10x
Kbuild
Kconfig ARC: wireup clone3 syscall 2021-09-12 08:56:40 +02:00
Kconfig.debug
Makefile