Re: [PATCH v4 1/4] x86/boot/KASLR: Wrap e820 entries walking code into new function process_e820_entries()

2017-07-09 Thread Kees Cook
On Sun, Jul 9, 2017 at 5:37 AM, Baoquan He wrote: > The original function process_e820_entry() only takes care of each > e820 entry passed. > > And move the E820_TYPE_RAM checking logic into process_e820_entries(). > > And remove the redundent local variable 'addr' definition in

Re: [PATCH v4 1/4] x86/boot/KASLR: Wrap e820 entries walking code into new function process_e820_entries()

2017-07-09 Thread Kees Cook
On Sun, Jul 9, 2017 at 5:37 AM, Baoquan He wrote: > The original function process_e820_entry() only takes care of each > e820 entry passed. > > And move the E820_TYPE_RAM checking logic into process_e820_entries(). > > And remove the redundent local variable 'addr' definition in >

[PATCH v4 1/4] x86/boot/KASLR: Wrap e820 entries walking code into new function process_e820_entries()

2017-07-09 Thread Baoquan He
The original function process_e820_entry() only takes care of each e820 entry passed. And move the E820_TYPE_RAM checking logic into process_e820_entries(). And remove the redundent local variable 'addr' definition in find_random_phys_addr(). Signed-off-by: Baoquan He ---

[PATCH v4 1/4] x86/boot/KASLR: Wrap e820 entries walking code into new function process_e820_entries()

2017-07-09 Thread Baoquan He
The original function process_e820_entry() only takes care of each e820 entry passed. And move the E820_TYPE_RAM checking logic into process_e820_entries(). And remove the redundent local variable 'addr' definition in find_random_phys_addr(). Signed-off-by: Baoquan He ---