Skip to content

Commit

Permalink
mm/memcontrol.c: fix "integer as NULL pointer" sparse warning
Browse files Browse the repository at this point in the history
mm/memcontrol.c:2548:32: warning: Using plain integer as NULL pointer

Signed-off-by: Thiago Farina <[email protected]>
Acked-by: Balbir Singh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
tfarina authored and torvalds committed Mar 6, 2010
1 parent 19adf9c commit 648bcc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/memcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -2545,7 +2545,7 @@ static int mem_cgroup_force_empty_list(struct mem_cgroup *mem,
pc = list_entry(list->prev, struct page_cgroup, lru);
if (busy == pc) {
list_move(&pc->lru, list);
busy = 0;
busy = NULL;
spin_unlock_irqrestore(&zone->lru_lock, flags);
continue;
}
Expand Down

0 comments on commit 648bcc7

Please sign in to comment.