Browse Source

[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>
Luiz Fernando Capitulino 19 years ago
parent
commit
0f5c79f292
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/proc/task_mmu.c

+ 1 - 1
fs/proc/task_mmu.c

@@ -195,7 +195,7 @@ static int show_map_internal(struct seq_file *m, void *v, struct mem_size_stats
 
 static int show_map(struct seq_file *m, void *v)
 {
-	return show_map_internal(m, v, 0);
+	return show_map_internal(m, v, NULL);
 }
 
 static void smaps_pte_range(struct vm_area_struct *vma, pmd_t *pmd,