krishnanadh / rpms / rasdaemon

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