-
由 Giulio Benetti 提交于
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: 340a9828 ("ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation") Signed-off-by: NGiulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: NRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
a4e03921