aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2010-03-05 16:42:04 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 14:26:26 -0500
commit648bcc771145172a14bc35eeb849ed08f6aa4f1e (patch)
tree3cc7da55d1ca18b46cb0518b3b35c276adc0aad1 /mm
parent19adf9c5d5793657118f2002237c0ee49c3b6185 (diff)
mm/memcontrol.c: fix "integer as NULL pointer" sparse warning
mm/memcontrol.c:2548:32: warning: Using plain integer as NULL pointer Signed-off-by: Thiago Farina <tfransosi@gmail.com> Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/memcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 954032b80bed..d813823ab08f 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -2545,7 +2545,7 @@ static int mem_cgroup_force_empty_list(struct mem_cgroup *mem,
2545 pc = list_entry(list->prev, struct page_cgroup, lru); 2545 pc = list_entry(list->prev, struct page_cgroup, lru);
2546 if (busy == pc) { 2546 if (busy == pc) {
2547 list_move(&pc->lru, list); 2547 list_move(&pc->lru, list);
2548 busy = 0; 2548 busy = NULL;
2549 spin_unlock_irqrestore(&zone->lru_lock, flags); 2549 spin_unlock_irqrestore(&zone->lru_lock, flags);
2550 continue; 2550 continue;
2551 } 2551 }