projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff1b2c
)
[PATCH] Fix sparse warning in proc/task_mmu.c
author
Luiz Fernando Capitulino
<lcapitulino@mandriva.com.br>
Mon, 14 Nov 2005 00:07:20 +0000
(16:07 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 14 Nov 2005 02:14:15 +0000
(18:14 -0800)
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>
fs/proc/task_mmu.c
patch
|
blob
|
history
diff --git
a/fs/proc/task_mmu.c
b/fs/proc/task_mmu.c
index d2fa42006d8fe96cbc8fc0413d710c1df9a4255e..9ab97cef0daa001dded3c6d667e95ea4134fc0a7 100644
(file)
--- a/
fs/proc/task_mmu.c
+++ b/
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,