ionic: fix ptp support config breakage
Subsystems (3)
PATCH v4 1/1 ionic: fix ptp support config breakage
When IONIC=y and PTP_1588_CLOCK=m were set in the .config file the driver link failed with undefined references.
We add the dependancy
depends on PTP_1588_CLOCK || !PTP_1588_CLOCK
to clear this up.
If PTP_1588_CLOCK=m, the depends limits IONIC to =m (or disabled). If PTP_1588_CLOCK is disabled, IONIC can be any of y/m/n.
---
v4 - Jakub's rewrite
v3 - put version notes below ---, added Allen's Cc v2 - added Fixes tag
--- drivers/net/ethernet/pensando/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/pensando/Kconfig +1 -0
@@ -20,6 +20,7 @@ if NET_VENDOR_PENSANDO config IONIC tristate "Pensando Ethernet IONIC Support" depends on 64BIT && PCI + depends on PTP_1588_CLOCK || !PTP_1588_CLOCK select NET_DEVLINK select DIMLIB help
Signature · 1 line
2.17.1
Quoted 10 lines · Shannon Nelson
When IONIC=y and PTP_1588_CLOCK=m were set in the .config file the driver link failed with undefined references.
We add the dependancy
depends on PTP_1588_CLOCK || !PTP_1588_CLOCKto clear this up.
If PTP_1588_CLOCK=m, the depends limits IONIC to =m (or disabled). If
PTP_1588_CLOCKis disabled, IONIC can be any of y/m/n.
Quoted 6 lines
Fixes 61db421da31b ("ionic: link in the new hw timestamp code")Reported-by kernel test robot <[email protected]>Cc Jakub Kicinski <[email protected]>Cc Randy Dunlap <[email protected]>Cc Allen Hubbe <[email protected]>Signed-off-by Shannon Nelson <[email protected]>
Thanks.
Quoted 22 lines
---
v4 - Jakub's rewrite
v3 - put version notes below ---, added Allen's Cc v2 - added Fixes tag--- drivers/net/ethernet/pensando/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/net/ethernet/pensando/Kconfig +1
-0@@ -20,6 +20,7 @@ if NET_VENDOR_PENSANDO config IONIC tristate "Pensando Ethernet IONIC Support" depends on 64BIT && PCI + depends on PTP_1588_CLOCK || !PTP_1588_CLOCK select NET_DEVLINK select DIMLIB help
Signature · 1 line
~Randy
This patch was applied to bpf/bpf.git (refs/heads/master):
Hello:
This patch was applied to bpf/bpf.git (refs/heads/master):
Quoted 8 lines · On Tue, 11 May 2021 11:11:32 -0700 you wrote:
When IONIC=y and PTP_1588_CLOCK=m were set in the .config file the driver link failed with undefined references.
We add the dependancy
depends on PTP_1588_CLOCK || !PTP_1588_CLOCKto clear this up.
[...]
Here is the summary with links:
- [v4,net] ionic: fix ptp support config breakage
https://git.kernel.org/bpf/bpf/c/bcbda3fc6162
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html