[PATCH 10/13] staging: unisys: visorbus: Fix spelling error (FAIULRE to FAILURE)

David Kershner david.kershner at unisys.com
Thu Dec 1 06:31:12 UTC 2016


From: Bryan Thompson <bryan.thompson at unisys.com>

There were two instances of FAILURE being misspelled in the s-Par
firmware postcode event enum that are fixed.

Signed-off-by: Bryan Thompson <bryan.thompson at unisys.com>
Signed-off-by: David Kershner <david.kershner at unisys.com>
---
 drivers/staging/unisys/visorbus/visorchipset.c    | 4 ++--
 drivers/staging/unisys/visorbus/vmcallinterface.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 143db2e..e56dd94 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -1605,7 +1605,7 @@ static u64 controlvm_get_channel_address(void)
 			      local_crash_msg_offset,
 			      &local_crash_bus_msg,
 			      sizeof(struct controlvm_message)) < 0) {
-		POSTCODE_LINUX(CRASH_DEV_RD_BUS_FAIULRE_PC, 0, 0,
+		POSTCODE_LINUX(CRASH_DEV_RD_BUS_FAILURE_PC, 0, 0,
 			       POSTCODE_SEVERITY_ERR);
 		return;
 	}
@@ -1616,7 +1616,7 @@ static u64 controlvm_get_channel_address(void)
 			      sizeof(struct controlvm_message),
 			      &local_crash_dev_msg,
 			      sizeof(struct controlvm_message)) < 0) {
-		POSTCODE_LINUX(CRASH_DEV_RD_DEV_FAIULRE_PC, 0, 0,
+		POSTCODE_LINUX(CRASH_DEV_RD_DEV_FAILURE_PC, 0, 0,
 			       POSTCODE_SEVERITY_ERR);
 		return;
 	}
diff --git a/drivers/staging/unisys/visorbus/vmcallinterface.h b/drivers/staging/unisys/visorbus/vmcallinterface.h
index 65eb924..002b2c6 100644
--- a/drivers/staging/unisys/visorbus/vmcallinterface.h
+++ b/drivers/staging/unisys/visorbus/vmcallinterface.h
@@ -147,8 +147,8 @@ enum event_pc {			/* POSTCODE event identifier tuples */
 	MALLOC_FAILURE_PC = 0x015,
 	CRASH_DEV_ENTRY_PC = 0x016,
 	CRASH_DEV_EXIT_PC = 0x017,
-	CRASH_DEV_RD_BUS_FAIULRE_PC = 0x018,
-	CRASH_DEV_RD_DEV_FAIULRE_PC = 0x019,
+	CRASH_DEV_RD_BUS_FAILURE_PC = 0x018,
+	CRASH_DEV_RD_DEV_FAILURE_PC = 0x019,
 	CRASH_DEV_BUS_NULL_FAILURE_PC = 0x01A,
 	CRASH_DEV_DEV_NULL_FAILURE_PC = 0x01B,
 	CRASH_DEV_CTRL_RD_FAILURE_PC = 0x01C,
-- 
1.9.1



More information about the devel mailing list