* [PATCH net-next] net: microchip: sparx5: fix kconfig warning
@ 2021-07-08 17:33 ` Randy Dunlap
0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2021-07-08 17:33 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Lars Povlsen, Steen Hegelund, UNGLinuxDriver,
linux-arm-kernel, David S. Miller, Jakub Kicinski, netdev
PHY_SPARX5_SERDES depends on OF so SPARX5_SWITCH should also depend
on OF since 'select' does not follow any dependencies.
WARNING: unmet direct dependencies detected for PHY_SPARX5_SERDES
Depends on [n]: (ARCH_SPARX5 || COMPILE_TEST [=n]) && OF [=n] && HAS_IOMEM [=y]
Selected by [y]:
- SPARX5_SWITCH [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && NET_SWITCHDEV [=y] && HAS_IOMEM [=y]
Fixes: 3cfa11bac9bb ("net: sparx5: add the basic sparx5 driver")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Lars Povlsen <lars.povlsen@microchip.com>
Cc: Steen Hegelund <Steen.Hegelund@microchip.com>
Cc: UNGLinuxDriver@microchip.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org
---
drivers/net/ethernet/microchip/sparx5/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20210708.orig/drivers/net/ethernet/microchip/sparx5/Kconfig
+++ linux-next-20210708/drivers/net/ethernet/microchip/sparx5/Kconfig
@@ -2,6 +2,7 @@ config SPARX5_SWITCH
tristate "Sparx5 switch driver"
depends on NET_SWITCHDEV
depends on HAS_IOMEM
+ depends on OF
select PHYLINK
select PHY_SPARX5_SERDES
select RESET_CONTROLLER
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH net-next] net: microchip: sparx5: fix kconfig warning
@ 2021-07-08 17:33 ` Randy Dunlap
0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2021-07-08 17:33 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Lars Povlsen, Steen Hegelund, UNGLinuxDriver,
linux-arm-kernel, David S. Miller, Jakub Kicinski, netdev
PHY_SPARX5_SERDES depends on OF so SPARX5_SWITCH should also depend
on OF since 'select' does not follow any dependencies.
WARNING: unmet direct dependencies detected for PHY_SPARX5_SERDES
Depends on [n]: (ARCH_SPARX5 || COMPILE_TEST [=n]) && OF [=n] && HAS_IOMEM [=y]
Selected by [y]:
- SPARX5_SWITCH [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && NET_SWITCHDEV [=y] && HAS_IOMEM [=y]
Fixes: 3cfa11bac9bb ("net: sparx5: add the basic sparx5 driver")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Lars Povlsen <lars.povlsen@microchip.com>
Cc: Steen Hegelund <Steen.Hegelund@microchip.com>
Cc: UNGLinuxDriver@microchip.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org
---
drivers/net/ethernet/microchip/sparx5/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20210708.orig/drivers/net/ethernet/microchip/sparx5/Kconfig
+++ linux-next-20210708/drivers/net/ethernet/microchip/sparx5/Kconfig
@@ -2,6 +2,7 @@ config SPARX5_SWITCH
tristate "Sparx5 switch driver"
depends on NET_SWITCHDEV
depends on HAS_IOMEM
+ depends on OF
select PHYLINK
select PHY_SPARX5_SERDES
select RESET_CONTROLLER
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] net: microchip: sparx5: fix kconfig warning
2021-07-08 17:33 ` Randy Dunlap
@ 2021-07-08 21:10 ` patchwork-bot+netdevbpf
-1 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-07-08 21:10 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, lars.povlsen, Steen.Hegelund, UNGLinuxDriver,
linux-arm-kernel, davem, kuba, netdev
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 8 Jul 2021 10:33:10 -0700 you wrote:
> PHY_SPARX5_SERDES depends on OF so SPARX5_SWITCH should also depend
> on OF since 'select' does not follow any dependencies.
>
> WARNING: unmet direct dependencies detected for PHY_SPARX5_SERDES
> Depends on [n]: (ARCH_SPARX5 || COMPILE_TEST [=n]) && OF [=n] && HAS_IOMEM [=y]
> Selected by [y]:
> - SPARX5_SWITCH [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && NET_SWITCHDEV [=y] && HAS_IOMEM [=y]
>
> [...]
Here is the summary with links:
- [net-next] net: microchip: sparx5: fix kconfig warning
https://git.kernel.org/netdev/net/c/96248d6da657
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] net: microchip: sparx5: fix kconfig warning
@ 2021-07-08 21:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-07-08 21:10 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, lars.povlsen, Steen.Hegelund, UNGLinuxDriver,
linux-arm-kernel, davem, kuba, netdev
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 8 Jul 2021 10:33:10 -0700 you wrote:
> PHY_SPARX5_SERDES depends on OF so SPARX5_SWITCH should also depend
> on OF since 'select' does not follow any dependencies.
>
> WARNING: unmet direct dependencies detected for PHY_SPARX5_SERDES
> Depends on [n]: (ARCH_SPARX5 || COMPILE_TEST [=n]) && OF [=n] && HAS_IOMEM [=y]
> Selected by [y]:
> - SPARX5_SWITCH [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && NET_SWITCHDEV [=y] && HAS_IOMEM [=y]
>
> [...]
Here is the summary with links:
- [net-next] net: microchip: sparx5: fix kconfig warning
https://git.kernel.org/netdev/net/c/96248d6da657
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-08 21:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 17:33 [PATCH net-next] net: microchip: sparx5: fix kconfig warning Randy Dunlap
2021-07-08 17:33 ` Randy Dunlap
2021-07-08 21:10 ` patchwork-bot+netdevbpf
2021-07-08 21:10 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.