Messages in this thread | | | Date | Fri, 20 Jun 2014 15:39:34 -0400 | From | Boris Ostrovsky <> | Subject | Re: [PATCH] x86/mce: Don't unregister CPU hotplug notifier in error path |
| |
On 06/20/2014 01:52 PM, Borislav Petkov wrote: > On Fri, Jun 20, 2014 at 12:16:39PM -0400, Boris Ostrovsky wrote: >> But I think you still need to do the dance in the notifier to make >> sure you are not trying to add/remove device if mcheck_init_device() >> had failed earlier. > mce_device_remove should be smart enough. Hint: mce_device_initialized > cpumask.
What about mce_device_add()?
-boris
| |