Skip to content

Commit

Permalink
[PATCH] Fix sparse warning in proc/task_mmu.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luiz Fernando Capitulino authored and Linus Torvalds committed Nov 14, 2005
1 parent 0ff1b2c commit 0f5c79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/proc/task_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0f5c79f

Please sign in to comment.