android_kernel_motorola_sm6375/arch/m68k
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Guenter Roeck 7432ecc55f m68k: Double cast io functions to unsigned long
[ Upstream commit b1a89856fbf63fffde6a4771d8f1ac21df549e50 ]

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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-09-30 10:09:24 +02:00
..
68000
amiga
apollo
atari
bvme6000
coldfire
configs scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-07-22 09:32:57 +02:00
emu m68k: emu: Fix invalid free in nfeth_cleanup() 2021-09-15 09:47:28 +02:00
fpsp040
hp300
ifpsp060
include m68k: Double cast io functions to unsigned long 2021-09-30 10:09:24 +02:00
kernel m68k: nommu: register start of the memory with memblock 2020-07-22 09:32:52 +02:00
lib
mac m68k: mac: Fix IOP status/control register writes 2020-08-19 08:15:56 +02:00
math-emu
mm m68k: mm: fix node memblock init 2020-07-22 09:32:52 +02:00
mvme16x m68k: mvme147,mvme16x: Don't wipe PCC timer config bits 2021-05-14 09:44:19 +02:00
mvme147 m68k: mvme147,mvme16x: Don't wipe PCC timer config bits 2021-05-14 09:44:19 +02:00
q40 m68k: q40: Fix info-leak in rtc_ioctl 2020-10-01 13:17:12 +02:00
sun3
sun3x
tools/amiga
install.sh
Kconfig
Kconfig.bus m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch 2021-09-22 12:26:34 +02:00
Kconfig.cpu
Kconfig.debug
Kconfig.devices
Kconfig.machine m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning 2021-07-14 16:53:22 +02:00
Makefile kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables 2020-09-03 11:27:10 +02:00