summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@gmail.com>2020-06-10 09:58:45 +0300
committerTony Luck <tony.luck@intel.com>2020-06-15 21:19:39 +0300
commit30bf38e4341bd7b44e8036ad62f00e71c2ed8bb7 (patch)
tree1133b43e0ac27ccd43861dca7134fe74b15e46ff /drivers
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
downloadlinux-30bf38e4341bd7b44e8036ad62f00e71c2ed8bb7.tar.xz
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
Diffstat (limited to 'drivers')
-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