rasdaemon: backport bugfix patch from community
Fix error print handle_ras_events:
00115dda85
Signer-off-by: lvying <lvying6@huawei.com>
This commit is contained in:
parent
c0b9bbbb09
commit
0b9d06a79e
29
backport-rasdaemon-Fix-error-print.patch
Normal file
29
backport-rasdaemon-Fix-error-print.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 00115dda854f4a50681ccc6c017daa991234411b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Liguang Zhang <zhangliguang@linux.alibaba.com>
|
||||||
|
Date: Mon, 10 Aug 2020 11:07:43 +0800
|
||||||
|
Subject: [PATCH] rasdaemon: Fix error print
|
||||||
|
|
||||||
|
Fix error print handle_ras_events.
|
||||||
|
|
||||||
|
Signed-off-by: Liguang Zhang <zhangliguang@linux.alibaba.com>
|
||||||
|
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
||||||
|
---
|
||||||
|
ras-events.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/ras-events.c b/ras-events.c
|
||||||
|
index a99fd29..c797b20 100644
|
||||||
|
--- a/ras-events.c
|
||||||
|
+++ b/ras-events.c
|
||||||
|
@@ -874,7 +874,7 @@ int handle_ras_events(int record_events)
|
||||||
|
num_events++;
|
||||||
|
} else
|
||||||
|
log(ALL, LOG_ERR, "Can't get traces from %s:%s\n",
|
||||||
|
- "ras", "aer_event");
|
||||||
|
+ "ras", "extlog_mem_event");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_DEVLINK
|
||||||
|
--
|
||||||
|
2.18.4
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: rasdaemon
|
Name: rasdaemon
|
||||||
Version: 0.6.6
|
Version: 0.6.6
|
||||||
Release: 3
|
Release: 4
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events
|
Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events
|
||||||
URL: https://github.com/mchehab/rasdaemon.git
|
URL: https://github.com/mchehab/rasdaemon.git
|
||||||
@ -24,6 +24,7 @@ Patch2: bugfix-rasdaemon-wait-for-file-access.patch
|
|||||||
Patch3: bugfix-fix-fd-check.patch
|
Patch3: bugfix-fix-fd-check.patch
|
||||||
Patch4: backport-0001-ras-page-isolation-do_page_offline-always-considers-.patch
|
Patch4: backport-0001-ras-page-isolation-do_page_offline-always-considers-.patch
|
||||||
Patch5: backport-0002-ras-page-isolation-page-which-is-PAGE_OFFLINE_FAILED.patch
|
Patch5: backport-0002-ras-page-isolation-page-which-is-PAGE_OFFLINE_FAILED.patch
|
||||||
|
Patch6: backport-rasdaemon-Fix-error-print.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The rasdaemon program is a daemon which monitors the platform
|
The rasdaemon program is a daemon which monitors the platform
|
||||||
@ -70,6 +71,10 @@ rm INSTALL %{buildroot}/usr/include/*.h
|
|||||||
/usr/bin/systemctl enable rasdaemon.service >/dev/null 2>&1 || :
|
/usr/bin/systemctl enable rasdaemon.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 28 2021 Lv Ying <lvying6@huawei.com> - 0.6.6-4
|
||||||
|
- backport bugfix patches from community:
|
||||||
|
1. Fix error print handle_ras_events.
|
||||||
|
|
||||||
* Wed Mar 31 2021 Lv Ying <lvying6@huawei.com> - 0.6.6-3
|
* Wed Mar 31 2021 Lv Ying <lvying6@huawei.com> - 0.6.6-3
|
||||||
- backport bugfix patches from community:
|
- backport bugfix patches from community:
|
||||||
1. ras-page-isolation: do_page_offline always considers page offline was successful
|
1. ras-page-isolation: do_page_offline always considers page offline was successful
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user