Re: [PATCH v3] x86/mce: Improve mcheck_init_device() error handling

2014-05-28 Thread mathieu souchaud
Thanks too, you helped me a lot. I can do more work, if it's not too difficult for me. Mathieu Le 28/05/2014 11:52, Borislav Petkov a écrit : On Wed, May 28, 2014 at 09:12:37AM +0200, Mathieu Souchaud wrote: Check return code of every function called by mcheck_init_device(). Signed-o

[PATCH v3] x86/mce: Improve mcheck_init_device() error handling

2014-05-28 Thread Mathieu Souchaud
Check return code of every function called by mcheck_init_device(). Signed-off-by: Mathieu Souchaud --- arch/x86/kernel/cpu/mcheck/mce.c | 47 -- 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86

Re: [PATCH v2] x86/mce: Improve mcheck_init_device() error handling

2014-05-03 Thread mathieu souchaud
I took some time to make a light kvm guest and "inject" errors. It seems to work fine (after solving a deadlock issue :) ). Mathieu S. Le 03/05/2014 23:03, Mathieu Souchaud a écrit : Check return code of every function called by mcheck_init_device(). Signed-off-by: Mathie

[PATCH v2] x86/mce: Improve mcheck_init_device() error handling

2014-05-03 Thread Mathieu Souchaud
Check return code of every function called by mcheck_init_device(). Signed-off-by: Mathieu Souchaud --- arch/x86/kernel/cpu/mcheck/mce.c | 49 +++--- 1 file changed, 41 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86

Re: [PATCH] x86/mce: Improve mcheck_init_device() error handling.

2014-04-25 Thread mathieu souchaud
x27;t know much about MCE. Mathieu S. Le 25/04/2014 19:40, Mathieu Souchaud a écrit : Check return code of every function called. Signed-off-by: Mathieu Souchaud --- arch/x86/kernel/cpu/mcheck/mce.c | 30 +++--- 1 file changed, 23 insertions(+), 7 deletions(-)

[PATCH] x86/mce: Improve mcheck_init_device() error handling.

2014-04-25 Thread Mathieu Souchaud
Check return code of every function called. Signed-off-by: Mathieu Souchaud --- arch/x86/kernel/cpu/mcheck/mce.c | 30 +++--- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index

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

[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