Re: [PATCH v3 01/19] x86, kaslr: Remove not needed parameter for choose_kernel_location

2016-03-07 Thread Kees Cook
On Fri, Mar 4, 2016 at 8:24 AM, Baoquan He wrote: > From: Yinghai Lu > > real_mode is global variable, so we do not need to pass it around. > > Signed-off-by: Yinghai Lu Cool, this makes things cleaner. Acked-by: Kees Cook

Re: [PATCH v3 01/19] x86, kaslr: Remove not needed parameter for choose_kernel_location

2016-03-07 Thread Kees Cook
On Fri, Mar 4, 2016 at 8:24 AM, Baoquan He wrote: > From: Yinghai Lu > > real_mode is global variable, so we do not need to pass it around. > > Signed-off-by: Yinghai Lu Cool, this makes things cleaner. Acked-by: Kees Cook -Kees > --- > arch/x86/boot/compressed/aslr.c | 5 ++--- >

[PATCH v3 01/19] x86, kaslr: Remove not needed parameter for choose_kernel_location

2016-03-04 Thread Baoquan He
From: Yinghai Lu real_mode is global variable, so we do not need to pass it around. Signed-off-by: Yinghai Lu --- arch/x86/boot/compressed/aslr.c | 5 ++--- arch/x86/boot/compressed/misc.c | 2 +- arch/x86/boot/compressed/misc.h | 6 ++ 3 files

[PATCH v3 01/19] x86, kaslr: Remove not needed parameter for choose_kernel_location

2016-03-04 Thread Baoquan He
From: Yinghai Lu real_mode is global variable, so we do not need to pass it around. Signed-off-by: Yinghai Lu --- arch/x86/boot/compressed/aslr.c | 5 ++--- arch/x86/boot/compressed/misc.c | 2 +- arch/x86/boot/compressed/misc.h | 6 ++ 3 files changed, 5 insertions(+), 8 deletions(-)