lkml.org 
[lkml]   [2020]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net] net: cavium: Fix build errors due to 'imply CAVIUM_PTP'
From
From: YueHaibing <yuehaibing@huawei.com>
Date: Thu, 2 Apr 2020 21:23:44 +0800

> 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>

Applied, thanks.

\
 
 \ /
  Last update: 2020-04-02 16:02    [W:0.039 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site