Re: [PATCH] Fixed some style warnings and errors

2018-04-02 Thread Borislav Petkov
On Mon, Apr 02, 2018 at 10:24:36PM +0600, Khan M Rashedun-Naby wrote: > Thanks Borislav, but what about the data type fix ? :) First of all, please do not top-post when replying to lkml email and also, when replying, hit reply-to-all so that all the people on CC can get the answer. I've fixed that

Re: [PATCH] Fixed some style warnings and errors

2018-04-02 Thread Borislav Petkov
On Mon, Apr 02, 2018 at 09:17:43PM +0600, Khan M Rashedun-Naby wrote: > @@ -820,14 +821,22 @@ static void init_amd(struct cpuinfo_x86 *c) > clear_cpu_cap(c, X86_FEATURE_MCE); > > switch (c->x86) { > - case 4:init_amd_k5(c); break; > - case 5:init_amd_k6(c); bre

[PATCH] Fixed some style warnings and errors

2018-04-02 Thread Khan M Rashedun-Naby
Signed-off-by: Khan M Rashedun-Naby --- arch/x86/kernel/cpu/amd.c | 46 ++ 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index f0e6456..1a6e45e 100644 --- a/arch/x86/kernel/cpu/amd.