lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 3 Mar 2015 10:32:20 -0800 From: Yinghai Lu <yinghai@...nel.org> To: Baoquan He <bhe@...hat.com> Cc: "H. Peter Anvin" <hpa@...or.com>, Kees Cook <keescook@...omium.org>, Vivek Goyal <vgoyal@...hat.com>, Andy Lutomirski <luto@...capital.net>, Andrew Morton <akpm@...ux-foundation.org>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Linux Kernel Mailing List <linux-kernel@...r.kernel.org> Subject: Re: [PATCH v2 1/9] remove a unused function parameter On Mon, Mar 2, 2015 at 6:58 AM, Baoquan He <bhe@...hat.com> wrote: > Make a clean up to simplify the later change. > > Signed-off-by: Baoquan He <bhe@...hat.com> > --- > arch/x86/boot/compressed/aslr.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/boot/compressed/aslr.c b/arch/x86/boot/compressed/aslr.c > index 7083c16..6a22129 100644 > --- a/arch/x86/boot/compressed/aslr.c > +++ b/arch/x86/boot/compressed/aslr.c > @@ -142,7 +142,7 @@ static bool mem_overlaps(struct mem_vector *one, struct mem_vector *two) > } > > static void mem_avoid_init(unsigned long input, unsigned long input_size, > - unsigned long output, unsigned long output_size) > + unsigned long output_size) > { > u64 initrd_start, initrd_size; > u64 cmd_line, cmd_line_size; > @@ -349,7 +349,7 @@ unsigned char *choose_kernel_location(struct boot_params *params, > > /* Record the various known unsafe memory ranges. */ > mem_avoid_init((unsigned long)input, input_size, > - (unsigned long)output, output_size); > + output_size); > > /* Walk e820 and find a random address. */ > random = find_random_addr(choice, output_size); No, that is not right, but it is not your fault. let me sort it out. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists