Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] Fix sparse warning in proc/task_mmu.c

fs/proc/task_mmu.c:198:33: warning: Using plain integer as NULL pointer

Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Luiz Fernando Capitulino and committed by
Linus Torvalds
0f5c79f2 0ff1b2c8

+1 -1
+1 -1
fs/proc/task_mmu.c
··· 195 195 196 196 static int show_map(struct seq_file *m, void *v) 197 197 { 198 - return show_map_internal(m, v, 0); 198 + return show_map_internal(m, v, NULL); 199 199 } 200 200 201 201 static void smaps_pte_range(struct vm_area_struct *vma, pmd_t *pmd,