krishnanadh / rpms / rasdaemon

Forked from rpms/rasdaemon a year ago
Clone

Blame SOURCES/0048-rasdaemon-add-missing-semicolon-in-hsw_decode_model.patch

d9e469
From abf36efe909c4022260cb4016c54d1ec3ec18cb8 Mon Sep 17 00:00:00 2001
d9e469
From: Seiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
d9e469
Date: Tue, 26 May 2015 11:59:37 -0300
d9e469
Subject: [PATCH 08/13] rasdaemon: add missing semicolon in hsw_decode_model()
d9e469
d9e469
hsw_decode_model() tries to skip decode_bitfield() if IA32_MC4_STATUS indicates
d9e469
some internal errors. Unfortunately, here behaves opposite to the intention
d9e469
because a semicolon is missing.
d9e469
d9e469
Signed-off-by: Seiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
d9e469
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
d9e469
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
d9e469
---
d9e469
 mce-intel-haswell.c | 1 +
d9e469
 1 file changed, 1 insertion(+)
d9e469
d9e469
diff --git a/mce-intel-haswell.c b/mce-intel-haswell.c
d9e469
index c32704c..3ac12f2 100644
d9e469
--- a/mce-intel-haswell.c
d9e469
+++ b/mce-intel-haswell.c
d9e469
@@ -137,6 +137,7 @@ void hsw_decode_model(struct ras_events *ras, struct mce_event *e)
d9e469
                 }
d9e469
                 if (EXTRACT(status, 16, 19))
d9e469
                         /* PCU internal error */
d9e469
+                        ;
d9e469
                 decode_bitfield(e, status, pcu_mc4);
d9e469
                 break;
d9e469
         case 5:
d9e469
-- 
d9e469
1.8.3.1
d9e469