Messages in this thread | | | Date | Fri, 3 Jan 2020 11:46:29 -0800 | From | "Luck, Tony" <> | Subject | Re: [PATCH v2 6/6] x86/mce: Dynamically register default MCE handler |
| |
On Fri, Jan 03, 2020 at 04:07:22PM +0100, Jan H. Schönherr wrote: > +retry: > + if (has_notifiers) > + blocking_notifier_chain_unregister(&x86_mce_decoder_chain, > + &mce_default_nb); > + else > + blocking_notifier_chain_cond_register(&x86_mce_decoder_chain, > + &mce_default_nb);
I get a compile error here:
CC arch/x86/kernel/cpu/mce/core.o arch/x86/kernel/cpu/mce/core.c: In function ‘update_default_notifier_registration’: arch/x86/kernel/cpu/mce/core.c:616:3: error: implicit declaration of function ‘blocking_notifier_chain_cond_register’; did you mean ‘blocking_notifier_chain_unregister’? [-Werror=implicit-function-declaration] blocking_notifier_chain_cond_register(&x86_mce_decoder_chain, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blocking_notifier_chain_unregister
-Tony
| |