android_kernel_motorola_sm6225/arch/sh/kernel
John Paul Adrian Glaubitz 9ce5d6320a sh: j2: Use ioremap() to translate device tree address into kernel memory
[ Upstream commit bc9d1f0cecd2407cfb2364a7d4be2f52d1d46a9d ]

Addresses the following warning when building j2_defconfig:

arch/sh/kernel/cpu/sh2/probe.c: In function 'scan_cache':
arch/sh/kernel/cpu/sh2/probe.c:24:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   24 |  j2_ccr_base = (u32 __iomem *)of_flat_dt_translate_address(node);
      |

Fixes: 5a846abad0 ("sh: add support for J-Core J2 processor")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Rob Landley <rob@landley.net>
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20230503125746.331835-1-glaubitz@physik.fu-berlin.de
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-11 11:45:11 +02:00
..
cpu sh: j2: Use ioremap() to translate device tree address into kernel memory 2023-08-11 11:45:11 +02:00
vsyscall
.gitignore
asm-offsets.c
crash_dump.c
debugtraps.S
disassemble.c
dma-coherent.c
dumpstack.c
dwarf.c
entry-common.S
ftrace.c
head_32.S sh: init: use OF_EARLY_FLATTREE for early init 2023-05-17 11:13:26 +02:00
head_64.S
hw_breakpoint.c
idle.c sh/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:49:17 +02:00
io.c
io_trapped.c
iomap.c
ioport.c
irq.c
irq_32.c
irq_64.c
kdebugfs.c
kgdb.c
kprobes.c
machine_kexec.c
machvec.c
Makefile
module.c
nmi_debug.c sh: nmi_debug: fix return value of __setup handler 2023-05-17 11:13:26 +02:00
perf_callchain.c
perf_event.c
process.c
process_32.c
process_64.c
ptrace.c
ptrace_32.c
ptrace_64.c
reboot.c
relocate_kernel.S
return_address.c
setup.c sh/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:49:17 +02:00
sh_bios.c
sh_ksyms_32.c
sh_ksyms_64.c
signal_32.c sh: sanitize the flags on sigreturn 2023-04-05 11:15:36 +02:00
signal_64.c
smp.c
stacktrace.c
swsusp.c
sys_sh.c
sys_sh32.c
syscalls_32.S
syscalls_64.S
time.c
topology.c
traps.c exit: Add and use make_task_dead. 2023-02-06 07:49:45 +01:00
traps_32.c
traps_64.c
unwinder.c
vmlinux.lds.S