Re: [PATCH] arch/x86/boot/memory.c: Touched up coding-style issues

2018-10-28 Thread Ingo Molnar
* Jordan Borgner wrote: > Added missing parentheses to sizeof() function in detect_memory_e820(). > > Removed unnecessary braces in detect_memory_e801(). > > Replaced three if-statements with a ternary if-statement and > removed an unnecessary integer variable in detect_memory(). > > This

Re: [PATCH] arch/x86/boot/memory.c: Touched up coding-style issues

2018-10-28 Thread Ingo Molnar
* Jordan Borgner wrote: > Added missing parentheses to sizeof() function in detect_memory_e820(). > > Removed unnecessary braces in detect_memory_e801(). > > Replaced three if-statements with a ternary if-statement and > removed an unnecessary integer variable in detect_memory(). > > This

Re: [PATCH] arch/x86/boot/memory.c: Touched up coding-style issues

2018-10-27 Thread Joe Perches
On Sat, 2018-10-27 at 23:32 +0100, Jordan Borgner wrote: > Added missing parentheses to sizeof() function in detect_memory_e820(). > > Removed unnecessary braces in detect_memory_e801(). > > Replaced three if-statements with a ternary if-statement and > removed an unnecessary integer variable

Re: [PATCH] arch/x86/boot/memory.c: Touched up coding-style issues

2018-10-27 Thread Joe Perches
On Sat, 2018-10-27 at 23:32 +0100, Jordan Borgner wrote: > Added missing parentheses to sizeof() function in detect_memory_e820(). > > Removed unnecessary braces in detect_memory_e801(). > > Replaced three if-statements with a ternary if-statement and > removed an unnecessary integer variable

[PATCH] arch/x86/boot/memory.c: Touched up coding-style issues

2018-10-27 Thread Jordan Borgner
Added missing parentheses to sizeof() function in detect_memory_e820(). Removed unnecessary braces in detect_memory_e801(). Replaced three if-statements with a ternary if-statement and removed an unnecessary integer variable in detect_memory(). This is my first patch I hope it is okay.

[PATCH] arch/x86/boot/memory.c: Touched up coding-style issues

2018-10-27 Thread Jordan Borgner
Added missing parentheses to sizeof() function in detect_memory_e820(). Removed unnecessary braces in detect_memory_e801(). Replaced three if-statements with a ternary if-statement and removed an unnecessary integer variable in detect_memory(). This is my first patch I hope it is okay.