From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A717CB7BF7 for ; Thu, 7 Jan 2010 11:04:29 +1100 (EST) Received: from kpbe17.cbf.corp.google.com (kpbe17.cbf.corp.google.com [172.25.105.81]) by smtp-out.google.com with ESMTP id o06NrBVg021357 for ; Wed, 6 Jan 2010 15:53:21 -0800 Received: from pzk41 (pzk41.prod.google.com [10.243.19.169]) by kpbe17.cbf.corp.google.com with ESMTP id o06NpTFS019180 for ; Wed, 6 Jan 2010 15:52:46 -0800 Received: by pzk41 with SMTP id 41so6376573pzk.0 for ; Wed, 06 Jan 2010 15:52:41 -0800 (PST) Date: Wed, 6 Jan 2010 15:52:37 -0800 (PST) From: David Rientjes To: H Hartley Sweeten Subject: Re: [PATCH] nodmask.h: remove macro any_online_node In-Reply-To: <201001061624.59118.hartleys@visionengravers.com> Message-ID: References: <201001061624.59118.hartleys@visionengravers.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: neilb@suse.de, Trond.Myklebust@netapp.com, bfields@fieldses.org, linuxppc-dev@ozlabs.org, paulus@samba.org, Ricardo.Labiaga@netapp.com, mel@csn.ul.ie, devicetree-discuss@lists.ozlabs.org, akpm@linux-foundation.org, kamezawa.hiroyu@jp.fujitsu.com, lee.schermerhorn@hp.com, linux-nfs@vger.kernel.org, netdev@vger.kernel.org, Linux Kernel , miltonm@bga.com, dave@linux.vnet.ibm.com, chuck.lever@oracle.com, bhalevy@panasas.com, davem@davemloft.net List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 6 Jan 2010, H Hartley Sweeten wrote: > nodmask.h: remove macro any_online_node > > The macro any_online_node is prone to producing sparse warnings > due to the local symbol 'node'. Since all the in-tree users are really > requesting the first online node (the mask argument is either > NODE_MASK_ALL or node_online_map) just use the first_online_node > macro and remove the any_online_node macro since there are no users. > > Signed-off-by: H Hartley Sweeten > Cc: Andrew Morton > Cc: David Rientjes > Cc: KAMEZAWA Hiroyuki > Cc: Mel Gorman > Cc: Lee Schermerhorn > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Dave Hansen > Cc: Milton Miller > Cc: Nathan Fontenot > Cc: Geoff Levand > Cc: Grant Likely > Cc: J. Bruce Fields > Cc: Neil Brown > Cc: Trond Myklebust > Cc: David S. Miller > Cc: Benny Halevy > Cc: Chuck Lever > Cc: Ricardo Labiaga Acked-by: David Rientjes