Eric Dumazet
9464ca6500
net: make u64_stats_init() a function
...
Using a function instead of a macro is cleaner and remove
following W=1 warnings (extract)
In file included from net/ipv6/ip6_vti.c:29:0:
net/ipv6/ip6_vti.c: In function ‘vti6_dev_init_gen’:
include/linux/netdevice.h:2029:18: warning: variable ‘stat’ set but not
used [-Wunused-but-set-variable]
typeof(type) *stat; \
^
net/ipv6/ip6_vti.c:862:16: note: in expansion of macro
‘netdev_alloc_pcpu_stats’
dev->tstats = netdev_alloc_pcpu_stats(struct pcpu_sw_netstats);
^
CC [M] net/ipv6/sit.o
In file included from net/ipv6/sit.c:30:0:
net/ipv6/sit.c: In function ‘ipip6_tunnel_init’:
include/linux/netdevice.h:2029:18: warning: variable ‘stat’ set but not
used [-Wunused-but-set-variable]
typeof(type) *stat; \
^
Signed-off-by: Eric Dumazet <edumazet@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2015-06-15 16:02:52 -07:00
..
2015-05-26 14:03:45 +03:00
2015-04-22 18:33:48 +03:00
2015-04-22 09:24:55 -07:00
2015-04-22 18:33:43 +03:00
2015-04-24 09:49:37 -07:00
2014-09-22 16:48:47 +09:00
2015-02-01 11:50:35 -08:00
2015-05-09 14:59:05 -07:00
2015-04-26 13:36:02 -07:00
2015-05-30 23:35:34 -07:00
2015-06-11 15:55:25 -07:00
2015-04-24 09:49:37 -07:00
2015-06-15 20:19:20 +02:00
2015-05-08 11:22:30 -07:00
2015-04-22 08:00:41 +10:00
2015-05-08 11:53:55 +02:00
2015-04-23 15:16:37 -04:00
2015-04-24 08:23:45 -07:00
2015-04-22 08:00:42 +10:00
2015-05-28 10:12:42 -06:00
2015-04-17 09:03:56 -04:00
2015-04-17 09:03:53 -04:00
2015-05-04 13:09:55 -06:00
2015-04-17 08:31:12 -06:00
2015-05-12 17:21:22 -04:00
2015-06-15 15:53:50 -07:00
2015-06-10 23:33:58 -07:00
2014-01-23 16:36:56 -08:00
2015-01-20 14:02:58 -07:00
2015-04-24 08:23:45 -07:00
2015-05-04 17:49:51 +08:00
2015-05-04 17:49:51 +08:00
2015-05-04 17:49:51 +08:00
2014-05-28 13:37:21 -07:00
2015-05-28 11:05:20 +09:30
2015-02-17 12:21:51 -05:00
2013-08-18 17:39:55 -07:00
2015-04-21 14:47:16 +05:30
2015-04-17 23:18:53 +05:30
2014-10-03 14:55:48 -07:00
2014-09-29 00:04:55 -04:00
2012-10-13 10:46:48 +01:00
2015-05-05 19:24:42 -04:00
2015-05-21 17:07:59 -04:00
2015-04-26 17:22:07 -07:00
2015-05-06 23:03:23 -04:00
2014-10-09 22:25:52 -04:00
2015-05-23 01:22:35 -04:00
2015-05-12 14:13:20 +02:00
2015-05-11 10:50:17 -04:00
2015-06-01 16:50:52 -07:00
2015-05-04 14:49:23 -04:00
2015-02-13 21:21:41 -08:00
2014-05-14 16:40:04 -07:00
2015-06-09 15:06:55 +01:00
2015-04-21 09:42:58 -07:00
2015-04-18 12:32:59 -07:00
2015-04-21 09:44:55 -03:00
2014-12-13 13:33:07 +01:00
2015-04-17 09:03:55 -04:00
2015-04-23 16:52:01 +02:00
2015-05-13 10:19:35 +02:00
2015-04-25 16:50:14 -04:00
2015-02-18 20:50:05 +01:00
2015-05-14 22:35:13 -04:00
2015-05-14 17:55:51 -07:00
2015-05-12 10:39:26 -04:00
2015-04-22 09:44:36 -07:00
2015-03-12 18:46:08 -07:00
2014-10-14 02:18:28 +02:00
2015-04-18 11:20:31 -04:00
2014-01-27 21:02:39 -08:00
2015-05-11 10:50:17 -04:00
2015-05-12 18:43:55 -04:00
2015-06-01 14:56:09 -07:00
2015-06-12 14:16:46 +02:00
2015-05-14 01:10:05 -04:00
2015-06-12 14:10:12 +02:00
2015-05-14 01:10:05 -04:00
2015-05-09 22:15:31 -04:00
2015-04-21 16:16:04 -04:00
2015-04-26 17:33:59 -07:00
2015-04-23 14:36:28 -04:00
2015-05-05 17:10:11 -07:00
2012-12-11 17:22:27 -08:00
2015-05-26 19:55:56 -07:00
2012-10-13 10:46:48 +01:00
2015-05-27 14:19:44 -04:00
2015-05-29 07:39:34 +10:00
2015-05-27 08:46:44 +02:00
2015-05-27 00:27:35 -04:00
2013-08-19 21:22:34 -07:00
2015-05-16 18:08:26 -04:00
2014-11-10 16:45:43 -05:00
2006-07-13 13:21:35 -07:00
2015-05-14 01:10:05 -04:00
2015-04-27 15:49:30 +02:00
2015-06-15 14:30:32 -07:00
2015-04-20 09:08:49 -07:00
2015-04-11 15:53:35 -04:00
2008-05-26 16:15:32 +02:00
2015-04-14 09:50:27 -07:00
2015-05-30 17:04:36 -07:00
2015-02-13 21:21:35 -08:00
2015-04-17 09:04:07 -04:00
2015-05-23 01:22:35 -04:00
2014-07-18 11:49:57 +02:00
2012-10-09 16:22:32 +09:00
2015-05-10 19:26:37 +02:00
2015-06-15 16:02:52 -07:00
2015-05-14 17:55:51 -07:00
2015-04-28 12:48:57 +02:00
2015-05-05 17:10:11 -07:00
2015-03-09 09:22:28 -04:00