diff mbox

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

Message ID 1458522006-8846-5-git-send-email-ruscur@russell.cc
State Accepted
Headers show

Commit Message

Russell Currey March 21, 2016, 1 a.m. UTC
An error message was clearly copy-pasted from the register beforehand,
so fix.

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

Comments

Andrew Donnellan March 21, 2016, 1:31 a.m. UTC | #1
On 21/03/16 12:00, Russell Currey wrote:
> An error message was clearly copy-pasted from the register beforehand,
> so fix.
>
> Signed-off-by: Russell Currey <ruscur@russell.cc>
> Reviewed-by: Alistair Popple <alistair@popple.id.au>

Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
diff mbox

Patch

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;
 	}