powerpc/xmon: Fix compile error in print_insn* functions
PATCH 1/1 powerpc/xmon: Fix compile error in print_insn* functions
From 72a7497a8673c93a4b80aa4fc38b88a8e90aa650 Mon Sep 17 00:00:00 2001
From: Sukadev Bhattiprolu <[email protected]>
Date: Wed, 22 Jan 2020 18:57:18 -0600
Subject: [PATCH 1/1] powerpc/xmon: Fix compile error in print_insn* functions
Fix couple of compile errors I stumbled upon with CONFIG_XMON=y and CONFIG_XMON_DISASSEMBLY=n
--- arch/powerpc/xmon/dis-asm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/xmon/dis-asm.h +2 -2
@@ -13,13 +13,13 @@ extern int print_insn_spu(unsigned long insn, unsigned long memaddr);#else static inline int print_insn_powerpc (unsigned long insn,unsigned long memaddr) { -printf ("%.8x" , insn); +printf ("%.8lx" , insn);return 0 ; }static inline int print_insn_spu (unsigned long insn,unsigned long memaddr) { -printf ("%.8x" , insn); +printf ("%.8lx" , insn);return 0 ; }#endif
Signature · 1 line
2.18.1
Michael Ellerman
AppliedQuoted 9 lines · Sukadev Bhattiprolu
Quoted 1 line
From
72a7497a8673c93a4b80aa4fc38b88a8e90aa650Mon Sep 17 00:00:00 2001From: Sukadev Bhattiprolu <[email protected]>
Date: Wed, 22 Jan 2020 18:57:18 -0600
Subject: [PATCH 1/1] powerpc/xmon: Fix compile error in print_insn* functionsFix couple of compile errors I stumbled upon with
CONFIG_XMON=yandCONFIG_XMON_DISASSEMBLY=nSigned-off-by Sukadev Bhattiprolu <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/493a55f1e7724dee5e71bc726d5b819292094587
cheers