diff mbox series

powerpc/xive: Fix wrong xmon output caused by typo

Message ID 20180314170114.27044-1-fbarrat@linux.vnet.ibm.com (mailing list archive)
State Accepted
Commit 16b19f1a03f6a49618611b76818f04ea9cd15fb5
Headers show
Series powerpc/xive: Fix wrong xmon output caused by typo | expand

Commit Message

Frederic Barrat March 14, 2018, 5:01 p.m. UTC
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
---
 arch/powerpc/sysdev/xive/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Ellerman March 31, 2018, 2:03 p.m. UTC | #1
On Wed, 2018-03-14 at 17:01:14 UTC, Frederic Barrat wrote:
> Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>

Applied to powerpc next, thanks.

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

cheers
diff mbox series

Patch

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
 }