diff options
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | 2022-12-13 20:24:03 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-01-11 16:20:05 +0000 |
commit | a4e03921c1bb118e6718e0a3b0322a2c13ed172b (patch) | |
tree | 73b00ffac7f6dc1ddf7ebd84a0370c9545951288 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) | |
download | linux-a4e03921c1bb118e6718e0a3b0322a2c13ed172b.tar.bz2 |
ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment
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>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions