diff options
author | YueHaibing <[email protected]> | 2020-04-02 21:23:44 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-02 07:01:31 -0700 |
commit | a7d40cbb24900c0a9b2bbcff25b44e2dd14eeee1 (patch) | |
tree | bd7acb93c88786ae0e6a213ab0c6ff53033c508d /scripts/bpf_helpers_doc.py | |
parent | 2822d1a689f1c543b43fcc0870a38ec21eaa007a (diff) |
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 <[email protected]>
Fixes: def2fbffe62c ("kconfig: allow symbols implied by y to become m")
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions