x86/vdso: use NULL instead of zero
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 x86/vdso: use NULL instead of zero
x86/vdso: use NULL instead of zero in patch_vdso32()
Signed-off-by Michele Curti <[email protected]>
arch/x86/vdso/vma.c +1 -1
@@ -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;
Signature · 4 lines
2.1.0 Regards, Michele
Quoted 10 lines · Michele Curti
x86/vdso: use NULL instead of zero in
patch_vdso32()Signed-off-by Michele Curti <[email protected]>arch/x86/vdso/vma.c +0
-0
arch/x86/vdso/vma.c static unsigned vdsox32_size; · line 40
Quoted 8 lines
arch/x86/vdso/vma.c +1
-1@@ -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;
Your patch does not apply, this code got significantly reworked in the following commit, earlier this year:
6f121e548f83 x86, vdso: Reimplement vdso.so preparation in build-time C
Thanks,
Ingo