]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC/armada-xp: Fix output of uncorrectable error counter
authorHans Potsch <hans.potsch@nokia.com>
Wed, 6 Oct 2021 12:13:32 +0000 (14:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Oct 2021 09:40:14 +0000 (11:40 +0200)
commitdd1fec83b4b110355bd3214187e7ac9514cc532e
treeaa76b7ed2e6af8e85395107f74d8185a31ce6d6a
parent33843ae31e6b571f7a2b0cb859b3c671264fd927
EDAC/armada-xp: Fix output of uncorrectable error counter

commit 71c0598ccc72722a04e60733b987f508881d05d8 upstream.

The number of correctable errors is displayed as uncorrectable
errors because the "SBE" error count is passed to both calls of
edac_mc_handle_error().

Pass the correct uncorrectable error count to the second
edac_mc_handle_error() call when logging uncorrectable errors.

 [ bp: Massage commit message. ]

Fixes: 47d9bea37ed6 ("ARM: 8888/1: EDAC: Add driver for the Marvell Armada XP SDRAM and L2 cache ECC")
Signed-off-by: Hans Potsch <hans.potsch@nokia.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: https://lkml.kernel.org/r/20211006121332.58788-1-hans.potsch@nokia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/edac/armada_xp_edac.c