Messages in this thread | | | Date | Tue, 9 Apr 2013 20:52:21 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86, mce: Print warning if MCE handler fails to register /dev/mcelog |
| |
On Tue, Apr 09, 2013 at 06:30:58PM +0000, Luck, Tony wrote: > - misc_register(&mce_chrdev_device); > + if (misc_register(&mce_chrdev_device) != 0) > + pr_warn("Failed to register mcelog device\n"); > > Did this actually happen to you? Or is this just "good practice" to check the > return value from misc_register?
I'm very sceptical this actually happens - we would've otherwise seen reports about mcelog not starting correctly.
Hmm.
-- Regards/Gruss, Boris.
Sent from a fat crate under my desk. Formatting is fine. --
| |