Matthieu Baerts
176f716cb7
ipv6: fix "'ioam6_if_id_max' defined but not used" warn
...
When compiling without CONFIG_SYSCTL, this warning appears:
net/ipv6/addrconf.c:99:12: error: 'ioam6_if_id_max' defined but not used [-Werror=unused-variable]
99 | static u32 ioam6_if_id_max = U16_MAX;
| ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Simply moving the declaration of this variable under ...
#ifdef CONFIG_SYSCTL
... with other similar variables fixes the issue.
Fixes: 9ee11f0fff ("ipv6: ioam: Data plane support for Pre-allocated Trace")
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net >
Signed-off-by: David S. Miller <davem@davemloft.net >
2021-07-22 02:23:47 -07:00
..
2021-03-24 17:52:11 -07:00
2021-06-02 14:01:55 -07:00
2021-07-01 11:21:57 -07:00
2021-07-20 06:00:38 -07:00
2021-06-18 19:47:02 -07:00
2021-06-10 14:08:09 -07:00
2021-03-30 16:54:50 -07:00
2021-06-18 19:47:02 -07:00
2021-07-05 14:08:24 -07:00
2021-07-07 19:51:13 -07:00
2021-06-25 13:13:50 +02:00
2021-07-22 00:26:23 -07:00
2021-06-29 11:28:21 -07:00
2021-06-29 15:45:27 -07:00
2021-06-30 15:51:09 -07:00
2021-07-22 00:52:04 -07:00
2021-06-01 17:01:33 -07:00
2021-07-20 06:00:38 -07:00
2021-06-02 14:01:55 -07:00
2021-07-22 00:26:23 -07:00
2021-04-13 14:35:02 -07:00
2021-07-01 13:08:18 -07:00
2021-06-16 12:13:01 -07:00
2021-06-03 10:59:49 +02:00
2021-07-21 09:05:57 -07:00
2021-07-22 02:23:47 -07:00
2021-07-01 15:54:01 -07:00
2021-06-29 11:28:21 -07:00
2021-05-26 07:03:39 +02:00
2021-06-07 14:08:30 -07:00
2021-03-28 17:56:55 -07:00
2021-06-08 16:31:25 -07:00
2021-04-27 14:16:14 -07:00
2021-06-23 18:12:00 +02:00
2021-04-06 22:42:16 +02:00
2021-04-27 14:17:00 -07:00
2021-07-13 09:28:29 -07:00
2021-07-08 14:16:39 -07:00
2021-07-21 08:22:02 -07:00
2021-06-15 11:19:04 -07:00
2021-07-20 11:45:09 +02:00
2021-05-17 19:57:08 -05:00
2021-07-05 14:08:24 -07:00
2021-07-16 11:06:33 -07:00
2021-06-30 15:51:09 -07:00
2021-03-14 15:00:43 -07:00
2021-06-29 11:28:21 -07:00
2021-06-30 15:51:09 -07:00
2021-04-20 16:44:04 -07:00
2021-03-10 12:45:15 -08:00
2021-06-30 15:51:09 -07:00
2021-07-16 10:46:35 -07:00
2021-07-13 09:28:29 -07:00
2021-06-29 11:28:21 -07:00
2021-06-29 11:28:21 -07:00
2021-07-09 09:43:57 -07:00
2021-07-22 00:45:40 -07:00
2021-07-16 17:28:09 -07:00
2021-06-29 15:45:27 -07:00
2021-07-15 22:40:10 -07:00
2021-06-30 15:51:09 -07:00
2021-06-23 13:05:09 +02:00
2021-06-10 14:08:09 -07:00
2021-06-29 15:45:27 -07:00
2021-06-30 15:51:09 -07:00
2021-06-03 15:13:56 -07:00
2021-06-11 12:55:28 -07:00
2021-05-11 13:56:16 -07:00
2021-07-01 13:08:18 -07:00
2021-04-12 13:27:11 -07:00