Subject: Re: [PATCH] nodmask.h: remove macro any_online_node

From: Benjamin Herrenschmidt <[email-masked]>
Date: Mon, 01 Feb 2010 13:05:58 +1100

On Wed, 2010-01-06 at 16:24 -0700, 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 <[email-masked]>
> Cc: Andrew Morton <[email-masked]>
> Cc: David Rientjes <[email-masked]>
> Cc: KAMEZAWA Hiroyuki <[email-masked]>
> Cc: Mel Gorman <[email-masked]>
> Cc: Lee Schermerhorn <[email-masked]>

Acked-by: Benjamin Herrenschmidt <[email-masked]>

> Cc: Paul Mackerras <[email-masked]>
> Cc: Dave Hansen <[email-masked]>
> Cc: Milton Miller <[email-masked]>
> Cc: Nathan Fontenot <[email-masked]>
> Cc: Geoff Levand <[email-masked]>
> Cc: Grant Likely <[email-masked]>
> Cc: J. Bruce Fields <[email-masked]>
> Cc: Neil Brown <[email-masked]>
> Cc: Trond Myklebust <[email-masked]>
> Cc: David S. Miller <[email-masked]>
> Cc: Benny Halevy <[email-masked]>
> Cc: Chuck Lever <[email-masked]>
> Cc: Ricardo Labiaga <[email-masked]>

Cheers,
Ben.