x86/mce: Improve mcheck_init_device() error handling
authorMathieu Souchaud <mattieu.souchaud@free.fr>
Wed, 28 May 2014 07:12:37 +0000 (09:12 +0200)
committerBorislav Petkov <bp@suse.de>
Fri, 30 May 2014 20:01:40 +0000 (22:01 +0200)
commit9c15a24b038f4d8da93a2bc2554731f8953a7c17
tree33f565cc4b6a6ea9705ce1a3c6fa94c8e07c6a6d
parentc7208164e66f63e3ec1759b98087849286410741
x86/mce: Improve mcheck_init_device() error handling

Check return code of every function called by mcheck_init_device().

Signed-off-by: Mathieu Souchaud <mattieu.souchaud@free.fr>
Link: http://lkml.kernel.org/r/1399151031-19905-1-git-send-email-mattieu.souchaud@free.fr
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/kernel/cpu/mcheck/mce.c