diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2011-05-16 23:59:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-17 15:27:35 -0400 |
commit | 11e73de7ccc1c9c61c65f914a214cb6467966a51 (patch) | |
tree | 84f384eb111459ace1e46dda9725160e16df89f9 /net/ipv4/ip_fragment.c | |
parent | c8144a36821b11e8124b38fdbf0b7cad546bbd2f (diff) | |
download | linux-11e73de7ccc1c9c61c65f914a214cb6467966a51.tar.gz linux-11e73de7ccc1c9c61c65f914a214cb6467966a51.tar.bz2 linux-11e73de7ccc1c9c61c65f914a214cb6467966a51.zip |
xen: netback: use __CONST_RING_SIZE not __RING_SIZE
The later causes warnings with gcc 4.5+. __CONST_RING_SIZE was introduced in
667c78afaec0 to fix this but as netback wasn't upstream at the time it did not
benefit, hence:
CC drivers/net/xen-netback/netback.o
drivers/net/xen-netback/netback.c:110:37: warning: variably modified 'grant_copy_op' at file scope [enabled by default]
drivers/net/xen-netback/netback.c:111:30: warning: variably modified 'meta' at file scope [enabled by default]
drivers/net/xen-netback/netback.c: In function 'xen_netbk_rx_action':
drivers/net/xen-netback/netback.c:584:6: warning: variable 'irq' set but not used [-Wunused-but-set-variable]
Thanks to Witold Baryluk for pointing this out.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_fragment.c')
0 files changed, 0 insertions, 0 deletions