|
|
d9e469 |
From 45b575b791dbd3d5660a0c08065a9fbcb6e21eb9 Mon Sep 17 00:00:00 2001
|
|
|
d9e469 |
From: Seiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
|
|
|
d9e469 |
Date: Wed, 10 Jun 2015 07:29:03 -0300
|
|
|
d9e469 |
Subject: [PATCH 2/5] rasdaemon: remove a space from mcgstatus_msg
|
|
|
d9e469 |
|
|
|
d9e469 |
"ras-mc-ctl --errors" shows an unnecessary space character in the
|
|
|
d9e469 |
mcgstatus string of MCE event, like below:
|
|
|
d9e469 |
|
|
|
d9e469 |
2 2015-04-04 19:57:22 +0900 error: MC_HA_IMC_RW_BLOCK_ACK_TIMEOUT, mcg mcgstatus= 0, mci Corrected_error, mcgcap=0x07000c16, status=0x8000000067000e0b, walltime=0x555da140, cpu=0x00000001, cpuid=0x000306f3, apicid=0x00000002, bank=0x00000004
|
|
|
d9e469 |
|
|
|
d9e469 |
Let's remove it.
|
|
|
d9e469 |
|
|
|
d9e469 |
Signed-off-by: Seiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
|
|
|
d9e469 |
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
|
d9e469 |
---
|
|
|
d9e469 |
mce-intel.c | 2 +-
|
|
|
d9e469 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
d9e469 |
|
|
|
d9e469 |
diff --git a/mce-intel.c b/mce-intel.c
|
|
|
d9e469 |
index 3503c6a..77b929b 100644
|
|
|
d9e469 |
--- a/mce-intel.c
|
|
|
d9e469 |
+++ b/mce-intel.c
|
|
|
d9e469 |
@@ -176,7 +176,7 @@ static void decode_mcg(struct mce_event *e)
|
|
|
d9e469 |
{
|
|
|
d9e469 |
uint64_t mcgstatus = e->mcgstatus;
|
|
|
d9e469 |
|
|
|
d9e469 |
- mce_snprintf(e->mcgstatus_msg, "mcgstatus= %lld",
|
|
|
d9e469 |
+ mce_snprintf(e->mcgstatus_msg, "mcgstatus=%lld",
|
|
|
d9e469 |
(long long)e->mcgstatus);
|
|
|
d9e469 |
|
|
|
d9e469 |
if (mcgstatus & MCG_STATUS_RIPV)
|
|
|
d9e469 |
--
|
|
|
d9e469 |
1.8.3.1
|
|
|
d9e469 |
|