Re: [PATCH] x86/mce: Check misc_register() return code.

2014-04-25 Thread mathieu souchaud
Great, I will fix that soon. Thanks. Le 25/04/2014 12:42, Borislav Petkov a écrit : On Fri, Apr 25, 2014 at 11:48:15AM +0200, Mathieu Souchaud wrote: The current code does not check the return from misc_register() so set the return variable with the return code of misc_register. Signed-off-b

Re: [PATCH] x86/mce: Check misc_register() return code.

2014-04-25 Thread Borislav Petkov
On Fri, Apr 25, 2014 at 11:48:15AM +0200, Mathieu Souchaud wrote: > The current code does not check the return from misc_register() so set > the return variable with the return code of misc_register. > > Signed-off-by: Mathieu Souchaud > --- > arch/x86/kernel/cpu/mcheck/mce.c |2 +- > 1 file

[PATCH] x86/mce: Check misc_register() return code.

2014-04-25 Thread Mathieu Souchaud
The current code does not check the return from misc_register() so set the return variable with the return code of misc_register. Signed-off-by: Mathieu Souchaud --- arch/x86/kernel/cpu/mcheck/mce.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/mcheck