From f7435ebe45e20163f91e2a0baae5c36cbb79249a Mon Sep 17 00:00:00 2001 From: Christophe Guerard Date: Mon, 18 Jun 2012 15:16:29 +0200 Subject: [PATCH] [CRASHLOG] Reformat fabric err logs BZ: 42166 The display format of the hex value of each Dword is changed to show all bytes of the Dword for cosmetic Change-Id: I8c02ddde240d68b0514222415f97eb3c585b4cba Signed-off-by: Christophe Guerard Reviewed-on: http://android.intel.com:8080/53124 Reviewed-by: Hogander, Jouni Reviewed-by: Kanigeri, Hari K Reviewed-by: Lebouc, Christophe Tested-by: Lebouc, Christophe Reviewed-by: buildbot Tested-by: buildbot --- drivers/misc/intel_fw_logging.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/intel_fw_logging.c b/drivers/misc/intel_fw_logging.c index b643724..9bc00dc 100755 --- a/drivers/misc/intel_fw_logging.c +++ b/drivers/misc/intel_fw_logging.c @@ -315,7 +315,8 @@ static int create_fwerr_log(char *output_buf, void __iomem *oshob_ptr) sprintf(output_buf, "SCU error summary:\n"); strcat(output_buf, "===================\n"); for (count = 0; count < MAX_NUM_LOGDWORDS; count++) { - sprintf(temp, "DW%d:%x\n", count, faberr_dwords[count]); + sprintf(temp, "DW%d:0x%08x\n", + count, faberr_dwords[count]); strcat(output_buf, temp); } return strlen(output_buf); -- 2.7.4