Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753924Ab0AXQGN (ORCPT ); Sun, 24 Jan 2010 11:06:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753884Ab0AXQGJ (ORCPT ); Sun, 24 Jan 2010 11:06:09 -0500 Received: from qw-out-2122.google.com ([74.125.92.24]:11891 "EHLO qw-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753852Ab0AXQGI (ORCPT ); Sun, 24 Jan 2010 11:06:08 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Q/bYPAK9SQXUyJa5oeItYppTGn8xnEFVb0NNNeLyYEEWpNcHVWpljGWyzjmFfZoB8G /2oQeDkyoKAMe27mpZ5l6rR0P0B4gwgWNjuH21F9QxHWmyM6/g9vwLyOwJJo2Je3zl4R GS6TmpE3r9qMr/ggCuA9YOJK074+8R8JggpEY= From: Thiago Farina To: tfransosi@gmail.com Cc: Balbir Singh , Pavel Emelyanov , KAMEZAWA Hiroyuki , Andrew Morton , Daisuke Nishimura , Li Zefan , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] mm/memcontrol.c: fix "integer as NULL pointer" warning. Date: Sun, 24 Jan 2010 11:03:51 -0500 Message-Id: <1264349038-1766-4-git-send-email-tfransosi@gmail.com> X-Mailer: git-send-email 1.6.6.1.383.g5a9f In-Reply-To: <1264349038-1766-1-git-send-email-tfransosi@gmail.com> References: <1264349038-1766-1-git-send-email-tfransosi@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 889 Lines: 28 mm/memcontrol.c:2548:32: warning: Using plain integer as NULL pointer Signed-off-by: Thiago Farina --- mm/memcontrol.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 954032b..d813823 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -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; } -- 1.6.6.1.383.g5a9f -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/