YueHaibing
a7d40cbb24
net: cavium: Fix build errors due to 'imply CAVIUM_PTP'
...
If CAVIUM_PTP is m and THUNDER_NIC_VF is y, build fails:
drivers/net/ethernet/cavium/thunder/nicvf_main.o: In function 'nicvf_remove':
nicvf_main.c:(.text+0x1f0): undefined reference to 'cavium_ptp_put'
drivers/net/ethernet/cavium/thunder/nicvf_main.o: In function `nicvf_probe':
nicvf_main.c:(.text+0x557c): undefined reference to 'cavium_ptp_get'
THUNDER_NIC_VF imply CAVIUM_PTP, which allow the config now,
Use IS_REACHABLE() to avoid the vmlinux link error for this case.
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: def2fbffe62c ("kconfig: allow symbols implied by y to become m")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-04-02 07:01:31 -07:00
..
2020-02-11 10:43:36 +01:00
2020-03-30 16:40:08 -07:00
2020-03-11 19:33:52 +01:00
2020-03-26 10:28:20 -06:00
2020-02-29 21:28:30 -08:00
2020-03-06 22:18:07 +01:00
2020-03-31 17:29:33 -07:00
2020-01-28 16:02:33 -08:00
2020-03-30 11:43:51 -07:00
2020-03-16 08:57:40 +01:00
2020-03-25 14:27:22 +01:00
2020-02-24 15:06:07 -05:00
2020-03-30 16:40:08 -07:00
2020-03-25 18:46:05 -07:00
2020-03-31 10:05:01 -07:00
2020-03-08 17:28:53 +00:00
2020-03-31 10:05:01 -07:00
2020-03-30 14:46:58 +02:00
2020-04-02 06:55:06 -07:00
2020-01-16 09:52:27 -08:00
2020-03-25 08:35:03 +09:00
2020-03-09 11:12:19 +01:00
2020-03-23 11:48:34 +05:30
2020-02-27 18:01:58 +05:30
2020-03-30 16:40:08 -07:00
2020-03-24 21:34:11 +01:00
2020-03-31 16:13:09 -07:00
2020-02-10 13:45:49 -08:00
2020-03-24 10:06:54 +01:00
2020-03-30 15:05:01 -07:00
2020-03-17 09:38:03 -07:00
2020-02-14 10:37:23 +01:00
2020-02-03 14:42:03 +00:00
2020-03-30 16:40:08 -07:00
2020-01-21 16:16:36 -08:00
2020-03-18 11:32:56 +01:00
2020-03-28 05:03:17 +01:00
2020-03-29 10:35:50 +02:00
2020-03-30 13:31:37 +02:00
2020-03-30 16:40:08 -07:00
2020-03-23 11:43:42 +01:00
2020-03-31 17:29:33 -07:00
2020-03-30 13:59:52 -07:00
2020-03-03 08:02:57 +01:00
2020-03-14 20:02:43 +01:00
2020-03-31 08:51:45 -07:00
2020-02-04 03:05:26 +00:00
2020-01-22 21:08:24 +01:00
2020-03-30 11:43:51 -07:00
2020-03-10 12:30:59 +01:00
2020-03-30 11:43:51 -07:00
2020-03-30 15:05:01 -07:00
2020-01-16 10:45:44 -08:00
2020-01-19 22:10:04 +01:00
2020-02-04 07:17:41 +00:00
2020-03-31 10:05:01 -07:00
2020-03-31 16:13:09 -07:00
2020-03-24 13:42:44 +01:00
2020-03-11 19:56:08 +00:00
2020-04-02 07:01:31 -07:00
2020-03-25 18:58:11 -07:00
2020-03-13 10:04:20 -04:00
2020-03-27 10:23:43 -06:00
2020-03-30 11:43:51 -07:00
2020-02-07 12:54:13 -08:00
2020-03-30 13:59:52 -07:00
2020-01-27 13:03:00 -08:00
2020-02-04 03:05:26 +00:00
2020-03-31 17:29:33 -07:00
2020-03-31 10:05:01 -07:00
2020-03-31 17:29:33 -07:00
2020-03-30 17:35:14 -07:00
2020-03-31 16:43:40 -07:00
2020-02-04 03:05:26 +00:00
2020-02-08 13:55:25 -08:00
2020-03-30 16:40:08 -07:00
2020-03-30 11:16:38 -07:00
2020-03-16 12:40:51 +01:00
2020-03-30 14:58:26 -07:00
2020-03-16 17:31:51 -07:00
2020-02-10 11:11:55 +01:00
2020-01-20 10:29:56 -08:00
2020-03-30 16:13:08 -07:00
2020-03-31 17:29:33 -07:00
2020-03-31 17:29:33 -07:00
2020-01-14 21:46:53 +01:00
2020-03-12 16:51:15 +01:00
2020-03-25 14:27:27 +01:00
2020-01-16 17:34:38 +05:30
2020-03-30 15:05:01 -07:00
2020-02-10 13:16:04 +01:00
2020-03-12 15:44:12 +02:00
2020-03-31 17:29:33 -07:00
2020-02-14 17:13:54 -05:00
2020-01-31 11:28:31 -08:00
2020-03-25 14:27:27 +01:00
2020-03-30 17:01:51 -07:00
2020-03-23 08:04:08 +01:00
2020-03-31 16:18:55 -07:00
2020-01-14 15:27:51 +01:00
2020-03-30 16:17:15 -07:00
2020-02-03 22:22:05 +00:00
2020-02-22 21:41:42 -08:00
2020-03-31 08:51:45 -07:00
2020-03-08 05:35:24 -04:00
2020-01-14 15:30:35 +01:00
2020-01-29 10:35:54 -08:00
2020-01-29 10:35:54 -08:00
2020-03-10 10:20:37 +01:00
2020-03-30 18:06:39 -07:00
2020-03-09 11:12:19 +01:00
2020-03-24 13:42:44 +01:00
2020-03-24 13:42:44 +01:00