linux/arch
Giulio Benetti 4b7dfd0a68 ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment
commit a4e03921c1 upstream.

zero_page is a void* pointer but memblock_alloc() returns phys_addr_t type
so this generates a warning while using clang and with -Wint-error enabled
that becomes and error. So let's cast the return of memblock_alloc() to
(void *).

Cc: <stable@vger.kernel.org> # 4.14.x +
Fixes: 340a982825 ("ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation")
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2023-02-01 08:27:25 +01:00
..
alpha exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
arc arc: iounmap() arg is volatile 2022-11-03 23:59:15 +09:00
arm ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment 2023-02-01 08:27:25 +01:00
arm64 KVM: arm64: GICv4.1: Fix race with doorbell on VPE activation/deactivation 2023-02-01 08:27:25 +01:00
csky csky: Fix function name in csky_alignment() and die() 2023-02-01 08:27:21 +01:00
h8300 h8300: Fix build errors from do_exit() to make_task_dead() transition 2023-02-01 08:27:21 +01:00
hexagon hexagon: Fix function name in die() 2023-02-01 08:27:20 +01:00
ia64 ia64: make IA64_MCA_RECOVERY bool instead of tristate 2023-02-01 08:27:21 +01:00
m68k exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
microblaze exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
mips exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
nds32 exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
nios2 exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
openrisc exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
parisc exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
powerpc exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
riscv exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
s390 exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
sh exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
sparc exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
um UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK 2022-10-26 12:34:23 +02:00
x86 KVM: x86/vmx: Do not skip segment attributes if unusable bit is set 2023-02-01 08:27:25 +01:00
xtensa exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig arch: make TRACE_IRQFLAGS_NMI_SUPPORT generic 2022-08-17 14:23:00 +02:00