From 626f7c90ff943be9cdc5ca3d3bbeac644bef2485 Mon Sep 17 00:00:00 2001
From: Krishna Dhulipala <krishnad@meta.com>
Date: Mon, 25 Sep 2023 19:29:43 -0700
Subject: [PATCH] Only log correctable errors for unified SEL
Summary:
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
---
unified-sel.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/unified-sel.c b/unified-sel.c
index 287bb4f..4398da1 100644
--- a/unified-sel.c
+++ b/unified-sel.c
@@ -106,9 +106,5 @@ int openbmc_unified_sel_log(uint64_t severity, const char *dev_name, uint64_t st
if (verify_id_log_sel(status, cor_error_ids, bus, dev_fn) < 0)
return -1;
}
- else {
- if (verify_id_log_sel(status, uncor_error_ids, bus, dev_fn) < 0)
- return -1;
- }
return 0;
}