Thread (4 messages) 4 messages, 4 authors, 2010-02-01

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

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2010-02-01 02:10:15
Also in: linux-devicetree, linux-nfs, lkml, netdev

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 <hsweeten@visionengravers.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <redacted>
Cc: Mel Gorman <redacted>
Cc: Lee Schermerhorn <redacted>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <redacted>
Cc: Dave Hansen <redacted>
Cc: Milton Miller <redacted>
Cc: Nathan Fontenot <redacted>
Cc: Geoff Levand <redacted>
Cc: Grant Likely <redacted>
Cc: J. Bruce Fields <redacted>
Cc: Neil Brown <redacted>
Cc: Trond Myklebust <redacted>
Cc: David S. Miller <davem@davemloft.net>
Cc: Benny Halevy <redacted>
Cc: Chuck Lever <redacted>
Cc: Ricardo Labiaga <redacted>
Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help