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
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 16 Sep 2014 10:31:09 +0200
From:	Michele Curti <>
To:	Ingo Molnar <>
Subject: [PATCH] x86/vdso: use NULL instead of zero

x86/vdso: use NULL instead of zero in patch_vdso32()

Signed-off-by: Michele Curti <>

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;


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists