diff mbox series

net: broadcom CNIC: requires MMU

Message ID 20201129070843.3859-1-rdunlap@infradead.org
State New
Headers show
Series net: broadcom CNIC: requires MMU | expand

Commit Message

Randy Dunlap Nov. 29, 2020, 7:08 a.m. UTC
The CNIC kconfig symbol selects UIO and UIO depends on MMU.
Since 'select' does not follow dependency chains, add the same MMU
dependency to CNIC.

Quietens this kconfig warning:

WARNING: unmet direct dependencies detected for UIO
  Depends on [n]: MMU [=n]
  Selected by [m]:
  - CNIC [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_BROADCOM [=y] && PCI [=y] && (IPV6 [=m] || IPV6 [=m]=n)

Fixes: adfc5217e9db ("broadcom: Move the Broadcom drivers")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: Rasesh Mody <rmody@marvell.com>
Cc: GR-Linux-NIC-Dev@marvell.com
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org
---
This isn't really the correct Fixes: tag, but I don't know how to go
backwards in git history to find it. :(

 drivers/net/ethernet/broadcom/Kconfig |    1 +
 1 file changed, 1 insertions(+)

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 1, 2020, 8 p.m. UTC | #1
Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Sat, 28 Nov 2020 23:08:43 -0800 you wrote:
> The CNIC kconfig symbol selects UIO and UIO depends on MMU.

> Since 'select' does not follow dependency chains, add the same MMU

> dependency to CNIC.

> 

> Quietens this kconfig warning:

> 

> WARNING: unmet direct dependencies detected for UIO

>   Depends on [n]: MMU [=n]

>   Selected by [m]:

>   - CNIC [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_BROADCOM [=y] && PCI [=y] && (IPV6 [=m] || IPV6 [=m]=n)

> 

> [...]


Here is the summary with links:
  - net: broadcom CNIC: requires MMU
    https://git.kernel.org/netdev/net/c/14483cbf040f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

--- linux-next-20201125.orig/drivers/net/ethernet/broadcom/Kconfig
+++ linux-next-20201125/drivers/net/ethernet/broadcom/Kconfig
@@ -88,6 +88,7 @@  config BNX2
 config CNIC
 	tristate "QLogic CNIC support"
 	depends on PCI && (IPV6 || IPV6=n)
+	depends on MMU
 	select BNX2
 	select UIO
 	help