[PATCH] x86/vdso: use NULL instead of zero

Michele Curti
2014-09-16T08:31:17Z

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

Signed-off-by: Michele Curti <michele.curti@gmail.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