forked from luck/tmp_suning_uos_patched
31df1d037c
[ 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 <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> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
adb_iop.h | ||
amigahw.h | ||
amigaints.h | ||
amigayle.h | ||
amipcmcia.h | ||
apollohw.h | ||
asm-offsets.h | ||
asm-prototypes.h | ||
atari_joystick.h | ||
atari_stdma.h | ||
atari_stram.h | ||
atarihw.h | ||
atariints.h | ||
atarikb.h | ||
atomic.h | ||
bitops.h | ||
blinken.h | ||
bootinfo.h | ||
bootstd.h | ||
bug.h | ||
bugs.h | ||
bvme6000hw.h | ||
cache.h | ||
cacheflush_mm.h | ||
cacheflush_no.h | ||
cacheflush.h | ||
checksum.h | ||
cmpxchg.h | ||
coldfire.h | ||
contregs.h | ||
current.h | ||
delay.h | ||
div64.h | ||
dma.h | ||
dsp56k.h | ||
dvma.h | ||
elf.h | ||
entry.h | ||
export.h | ||
fb.h | ||
fbio.h | ||
flat.h | ||
floppy.h | ||
fpu.h | ||
ftrace.h | ||
gpio.h | ||
hash.h | ||
hp300hw.h | ||
hwtest.h | ||
ide.h | ||
idprom.h | ||
intersil.h | ||
io_mm.h | ||
io_no.h | ||
io.h | ||
irq.h | ||
irqflags.h | ||
Kbuild | ||
kexec.h | ||
kmap.h | ||
linkage.h | ||
m52xxacr.h | ||
m53xxacr.h | ||
m53xxsim.h | ||
m54xxacr.h | ||
m54xxgpt.h | ||
m54xxpci.h | ||
m54xxsim.h | ||
m520xsim.h | ||
m523xsim.h | ||
m525xsim.h | ||
m527xsim.h | ||
m528xsim.h | ||
m5206sim.h | ||
m5272sim.h | ||
m5307sim.h | ||
m5407sim.h | ||
m5441xsim.h | ||
mac_asc.h | ||
mac_baboon.h | ||
mac_iop.h | ||
mac_oss.h | ||
mac_psc.h | ||
mac_via.h | ||
machdep.h | ||
machines.h | ||
machw.h | ||
macintosh.h | ||
macints.h | ||
math-emu.h | ||
MC68EZ328.h | ||
MC68VZ328.h | ||
MC68328.h | ||
mc146818rtc.h | ||
mcf_pgalloc.h | ||
mcf_pgtable.h | ||
mcf8390.h | ||
mcfclk.h | ||
mcfdma.h | ||
mcfgpio.h | ||
mcfintc.h | ||
mcfmmu.h | ||
mcfpit.h | ||
mcfqspi.h | ||
mcfsim.h | ||
mcfslt.h | ||
mcftimer.h | ||
mcfuart.h | ||
mcfwdebug.h | ||
mmu_context.h | ||
mmu.h | ||
mmzone.h | ||
module.h | ||
module.lds.h | ||
motorola_pgalloc.h | ||
motorola_pgtable.h | ||
movs.h | ||
mvme16xhw.h | ||
mvme147hw.h | ||
natfeat.h | ||
nettel.h | ||
nubus.h | ||
openprom.h | ||
oplib.h | ||
page_mm.h | ||
page_no.h | ||
page_offset.h | ||
page.h | ||
parport.h | ||
pci.h | ||
pgalloc.h | ||
pgtable_mm.h | ||
pgtable_no.h | ||
pgtable.h | ||
processor.h | ||
ptrace.h | ||
q40_master.h | ||
q40ints.h | ||
quicc_simple.h | ||
raw_io.h | ||
segment.h | ||
serial.h | ||
setup.h | ||
signal.h | ||
smp.h | ||
string.h | ||
sun3_pgalloc.h | ||
sun3_pgtable.h | ||
sun3-head.h | ||
sun3ints.h | ||
sun3mmu.h | ||
sun3x.h | ||
sun3xflop.h | ||
sun3xprom.h | ||
switch_to.h | ||
syscall.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
traps.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vga.h | ||
virtconvert.h | ||
vmalloc.h | ||
zorro.h |