[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Remove redundant '&' before array name in __RING_SIZE macro.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Node ID a5a3f48e92c95a7b7aae534102440dacdfaaffa8 # Parent 2dd375ce153d311b16d65c553b5bdbdb502db98f Remove redundant '&' before array name in __RING_SIZE macro. Signed-off-by: Richard Miller <9xen@xxxxxxxxxxxx> --- xen/include/public/io/ring.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 2dd375ce153d -r a5a3f48e92c9 xen/include/public/io/ring.h --- a/xen/include/public/io/ring.h Wed Oct 04 18:55:16 2006 +0100 +++ b/xen/include/public/io/ring.h Wed Oct 04 19:00:11 2006 +0100 @@ -25,7 +25,7 @@ typedef unsigned int RING_IDX; * power of two (so we can mask with (size-1) to loop around). */ #define __RING_SIZE(_s, _sz) \ - (__RD32(((_sz) - (long)&(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0]))) + (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0]))) /* * Macros to make the correct C datatypes for a new kind of ring. _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |