android_kernel_motorola_sm6375/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Giulio Benetti a536d87ec7 ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment
commit a4e03921c1bb118e6718e0a3b0322a2c13ed172b 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: 340a982825f7 ("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>
2023-02-06 07:52:44 +01:00
..
alpha alpha: fix syscall entry in !AUDUT_SYSCALL case 2023-01-18 11:40:53 +01:00
arc arc: iounmap() arg is volatile 2022-11-03 23:56:54 +09:00
arm ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment 2023-02-06 07:52:44 +01:00
arm64 arm64: cmpxchg_double*: hazard against entire exchange variable 2023-01-18 11:42:05 +01:00
c6x
csky
h8300
hexagon
ia64 ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr() 2022-08-25 11:17:25 +02:00
m68k
microblaze
mips MIPS: OCTEON: warn only once if deprecated link status is being used 2023-01-18 11:40:58 +01:00
nds32
nios2 nios2: add FORCE for vmlinuz.gz 2022-12-08 11:22:59 +01:00
openrisc
parisc parisc: Align parisc MADV_XXX constants with all other architectures 2023-01-18 11:42:00 +01:00
powerpc powerpc/imc-pmu: Fix use of mutex in IRQs disabled section 2023-01-18 11:42:03 +01:00
riscv riscv: uaccess: fix type of 0 variable on error in get_user() 2023-01-18 11:41:59 +01:00
s390 KVM: s390: interrupt: use READ_ONCE() before cmpxchg() 2023-02-06 07:52:42 +01:00
sh sh: machvec: Use char[] for section boundaries 2022-10-26 13:22:21 +02:00
sparc
um UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK 2022-10-26 13:22:16 +02:00
unicore32
x86 KVM: x86/vmx: Do not skip segment attributes if unusable bit is set 2023-02-06 07:52:44 +01:00
xtensa
.gitignore
Kconfig locking/refcount: Consolidate implementations of refcount_t 2022-07-29 17:14:17 +02:00