aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@gmail.com>2020-06-10 14:58:45 +0800
committerTony Luck <tony.luck@intel.com>2020-06-15 11:19:39 -0700
commit30bf38e4341bd7b44e8036ad62f00e71c2ed8bb7 (patch)
tree1133b43e0ac27ccd43861dca7134fe74b15e46ff
parentLinux 5.8-rc1 (diff)
downloadlinux-dev-30bf38e4341bd7b44e8036ad62f00e71c2ed8bb7.tar.xz
linux-dev-30bf38e4341bd7b44e8036ad62f00e71c2ed8bb7.zip
EDAC, pnd2: Set MCE_PRIO_EDAC priority for pnd2_mce_dec notifier
Avoid giving it MCE_PRIO_LOWEST priority by default. Signed-off-by: Zhenzhong Duan <zhenzhong.duan@gmail.com> Signed-off-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/r/20200610065846.3626-1-zhenzhong.duan@gmail.com
-rw-r--r--drivers/edac/pnd2_edac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/pnd2_edac.c b/drivers/edac/pnd2_edac.c
index c1f2e6deb021..fd363746f5b0 100644
--- a/drivers/edac/pnd2_edac.c
+++ b/drivers/edac/pnd2_edac.c
@@ -1432,6 +1432,7 @@ static int pnd2_mce_check_error(struct notifier_block *nb, unsigned long val, vo
static struct notifier_block pnd2_mce_dec = {
.notifier_call = pnd2_mce_check_error,
+ .priority = MCE_PRIO_EDAC,
};
#ifdef CONFIG_EDAC_DEBUG