linux-brain/arch/powerpc/mm/ptdump
Christophe Leroy 2150c25b76 powerpc/ptdump: Fix build failure in hashpagetable.c
commit 7c466b0807960edc13e4b855be85ea765df9a6cd upstream.

H_SUCCESS is only defined when CONFIG_PPC_PSERIES is defined.

!= H_SUCCESS means != 0. Modify the test accordingly.

Fixes: 65e701b2d2 ("powerpc/ptdump: drop non vital #ifdefs")
Cc: stable@vger.kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/795158fc1d2b3dff3bf7347881947a887ea9391a.1592227105.git.christophe.leroy@csgroup.eu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-21 13:05:24 +02:00
..
8xx.c powerpc: Move page table dump files in a dedicated subdirectory 2019-02-22 22:29:22 +11:00
bats.c powerpc/32s: get rid of CPU_FTR_601 feature 2019-08-28 23:19:33 +10:00
book3s64.c powerpc: Move page table dump files in a dedicated subdirectory 2019-02-22 22:29:22 +11:00
hashpagetable.c powerpc/ptdump: Fix build failure in hashpagetable.c 2020-08-21 13:05:24 +02:00
Makefile powerpc: Move page table dump files in a dedicated subdirectory 2019-02-22 22:29:22 +11:00
ptdump.c powerpc/ptdump: Properly handle non standard page size 2020-06-17 16:40:26 +02:00
ptdump.h powerpc: Move page table dump files in a dedicated subdirectory 2019-02-22 22:29:22 +11:00
segment_regs.c powerpc: Move page table dump files in a dedicated subdirectory 2019-02-22 22:29:22 +11:00
shared.c powerpc/ptdump: Add _PAGE_COHERENT flag 2020-06-24 17:50:16 +02:00