From: Zhenzhong Duan Date: Wed, 10 Jun 2020 06:58:45 +0000 (+0800) Subject: EDAC, pnd2: Set MCE_PRIO_EDAC priority for pnd2_mce_dec notifier X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=30bf38e4341bd7b44e8036ad62f00e71c2ed8bb7;p=linux.git 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 Signed-off-by: Tony Luck Link: https://lore.kernel.org/r/20200610065846.3626-1-zhenzhong.duan@gmail.com --- diff --git a/drivers/edac/pnd2_edac.c b/drivers/edac/pnd2_edac.c index c1f2e6deb021a..fd363746f5b03 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