[Skiboot] [PATCH V2 4/7] hmi: Fix incorrect error message

Russell Currey ruscur at russell.cc
Mon Mar 21 12:00:03 AEDT 2016


An error message was clearly copy-pasted from the register beforehand,
so fix.

Signed-off-by: Russell Currey <ruscur at russell.cc>
Reviewed-by: Alistair Popple <alistair at popple.id.au>
---
 core/hmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/hmi.c b/core/hmi.c
index d2cca90..127686f 100644
--- a/core/hmi.c
+++ b/core/hmi.c
@@ -393,7 +393,7 @@ static void find_nx_checkstop_reason(int flat_chip_id,
 
 	/* Get PowerBus Interface FIR data register value. */
 	if (xscom_read(flat_chip_id, NX_PBI_FIR, &nx_pbi_fir) != 0) {
-		prerror("HMI: XSCOM error reading NX_DMA_ENGINE_FIR\n");
+		prerror("HMI: XSCOM error reading NX_PBI_FIR\n");
 		return;
 	}
 
-- 
2.7.3



More information about the Skiboot mailing list