From: Hans Potsch <hans.potsch@nokia.com>
To: jlu@pengutronix.de, linux-edac@vger.kernel.org
Cc: harald.glock@nokia.com, Hans Potsch <hans.potsch@nokia.com>
Subject: [PATCH] EDAC/armada-xp: Fix output of uncorrectable error counter
Date: Wed, 6 Oct 2021 14:13:32 +0200 [thread overview]
Message-ID: <20211006121332.58788-1-hans.potsch@nokia.com> (raw)
In-Reply-To: <AM8PR07MB81725DB8E29F93C960A0B1C8FEB09@AM8PR07MB8172.eurprd07.prod.outlook.com>
Incorrect parameter is passed to the edac_mc_handle_error() function.
Therefore number of correctable errors is displayed as uncorrectable
errors. Changed to correct parameter.
Signed-off-by: Hans Potsch <hans.potsch@nokia.com>
---
drivers/edac/armada_xp_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/edac/armada_xp_edac.c b/drivers/edac/armada_xp_edac.c
index e3e757513d1b..b1f46a974b9e 100644
--- a/drivers/edac/armada_xp_edac.c
+++ b/drivers/edac/armada_xp_edac.c
@@ -178,7 +178,7 @@ static void axp_mc_check(struct mem_ctl_info *mci)
"details unavailable (multiple errors)");
if (cnt_dbe)
edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci,
- cnt_sbe, /* error count */
+ cnt_dbe, /* error count */
0, 0, 0, /* pfn, offset, syndrome */
-1, -1, -1, /* top, mid, low layer */
mci->ctl_name,
--
2.32.0
next prev parent reply other threads:[~2021-10-06 12:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AM8PR07MB8172B5AB7AD5DAE78CA4624CFEAA9@AM8PR07MB8172.eurprd07.prod.outlook.com>
2021-09-30 14:25 ` Bug in EDAC error handling of Marvell Armada XP Jan Lübbe
2021-10-06 9:40 ` Potsch, Hans (Nokia - DE/Stuttgart)
2021-10-06 12:13 ` Hans Potsch [this message]
2021-10-14 9:56 ` [PATCH] EDAC/armada-xp: Fix output of uncorrectable error counter Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211006121332.58788-1-hans.potsch@nokia.com \
--to=hans.potsch@nokia.com \
--cc=harald.glock@nokia.com \
--cc=jlu@pengutronix.de \
--cc=linux-edac@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox