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

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

From: David Rientjes <hidden>
Date: 2010-01-06 23:53:39
Also in: linux-devicetree, linux-nfs, linuxppc-dev, lkml

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 <redacted>
Cc: Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
Cc: David Rientjes <redacted>
Cc: KAMEZAWA Hiroyuki <redacted>
Cc: Mel Gorman <redacted>
Cc: Lee Schermerhorn <redacted>
Cc: Benjamin Herrenschmidt <redacted>
Cc: Paul Mackerras <redacted>
Cc: Dave Hansen <redacted>
Cc: Milton Miller <miltonm-ogEGBHC/i9Y@public.gmane.org>
Cc: Nathan Fontenot <redacted>
Cc: Geoff Levand <redacted>
Cc: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: J. Bruce Fields <redacted>
Cc: Neil Brown <redacted>
Cc: Trond Myklebust <redacted>
Cc: David S. Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Cc: Benny Halevy <redacted>
Cc: Chuck Lever <redacted>
Cc: Ricardo Labiaga <redacted>
Acked-by: David Rientjes <redacted>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help