[PATCH] powerpc/xive: Fix wrong xmon output caused by typo

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE3084d

2 messages, 2 authors, 2018-03-31 · open the first message on its own page

[PATCH] powerpc/xive: Fix wrong xmon output caused by typo

From: Frederic Barrat <hidden>
Date: 2018-03-14 17:01:23

Signed-off-by: Frederic Barrat <redacted>
---
 arch/powerpc/sysdev/xive/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/sysdev/xive/common.c b/arch/powerpc/sysdev/xive/common.c
index 40c06110821c..3459015092fa 100644
--- a/arch/powerpc/sysdev/xive/common.c
+++ b/arch/powerpc/sysdev/xive/common.c
@@ -246,7 +246,7 @@ notrace void xmon_xive_do_dump(int cpu)
 		u64 val = xive_esb_read(&xc->ipi_data, XIVE_ESB_GET);
 		xmon_printf("  IPI state: %x:%c%c\n", xc->hw_ipi,
 			val & XIVE_ESB_VAL_P ? 'P' : 'p',
-			val & XIVE_ESB_VAL_P ? 'Q' : 'q');
+			val & XIVE_ESB_VAL_Q ? 'Q' : 'q');
 	}
 #endif
 }
-- 
2.14.1

Re: powerpc/xive: Fix wrong xmon output caused by typo

From: Michael Ellerman <hidden>
Date: 2018-03-31 14:03:54

On Wed, 2018-03-14 at 17:01:14 UTC, Frederic Barrat wrote:
Signed-off-by: Frederic Barrat <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/16b19f1a03f6a49618611b76818f04

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help