linux/arch/m68k
Guenter Roeck b1a89856fb m68k: Double cast io functions to unsigned long
m68k builds fail widely with errors such as

arch/m68k/include/asm/raw_io.h:20:19: error:
	cast to pointer from integer of different size
arch/m68k/include/asm/raw_io.h:30:32: error:
	cast to pointer from integer of different size [-Werror=int-to-p

On m68k, io functions are defined as macros. The problem is seen if the
macro parameter variable size differs from the size of a pointer. Cast
the parameter of all io macros to unsigned long before casting it to
a pointer to fix the problem.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210907060729.2391992-1-linux@roeck-us.net
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2021-09-13 11:19:05 +02:00
..
68000
amiga
apollo
atari
bvme6000
coldfire m68k: coldfire: return success for clk_enable(NULL) 2021-08-23 08:40:04 +10:00
configs for-5.15/block-2021-08-30 2021-08-30 18:52:11 -07:00
emu TTY / Serial patches for 5.15-rc1 2021-09-01 09:51:16 -07:00
fpsp040 signal/m68k: Use force_sigsegv(SIGSEGV) in fpsp040_die 2021-08-26 09:59:15 -05:00
hp300
ifpsp060
include m68k: Double cast io functions to unsigned long 2021-09-13 11:19:05 +02:00
kernel Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
lib
mac
math-emu
mm
mvme16x
mvme147
q40
sun3
sun3x
tools/amiga
install.sh
Kbuild
Kconfig asm-generic changes for 5.15 2021-09-01 15:13:02 -07:00
Kconfig.bus m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch 2021-08-23 08:40:05 +10:00
Kconfig.cpu m68k: Fix invalid RMW_INSNS on CPUs that lack CAS 2021-08-09 13:23:50 +02:00
Kconfig.debug
Kconfig.devices
Kconfig.machine m68k/nommu: prevent setting ROMKERNEL when ROM is not set 2021-08-23 08:40:04 +10:00
Makefile Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00