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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 16 Sep 2014 10:31:09 +0200 From: Michele Curti <michele.curti@...il.com> To: Ingo Molnar <mingo@...nel.org> Cc: x86@...nel.org, tglx@...utronix.de, mingo@...hat.com, hpa@...or.com, linux-kernel@...r.kernel.org Subject: [PATCH] x86/vdso: use NULL instead of zero x86/vdso: use NULL instead of zero in patch_vdso32() Signed-off-by: Michele Curti <michele.curti@...il.com> diff --git a/arch/x86/vdso/vma.c b/arch/x86/vdso/vma.c index 1ad1026..a4647bc 100644 --- a/arch/x86/vdso/vma.c +++ b/arch/x86/vdso/vma.c @@ -34,7 +34,7 @@ static unsigned vdsox32_size; void __init patch_vdso32(void *vdso, size_t len) { Elf32_Ehdr *hdr = vdso; - Elf32_Shdr *sechdrs, *alt_sec = 0; + Elf32_Shdr *sechdrs, *alt_sec = NULL; char *secstrings; void *alt_data; int i; -- 2.1.0 Regards, Michele -- 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