[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191114090219.38344-1-yuehaibing@huawei.com>
Date: Thu, 14 Nov 2019 17:02:19 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <davem@...emloft.net>, <f.fainelli@...il.com>, <jiri@...lanox.com>,
<geert+renesas@...der.be>, <jakub.kicinski@...ronome.com>,
<gospo@...adcom.com>, <rdunlap@...radead.org>,
<yuehaibing@...wei.com>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH net-next] cnic: Fix Kconfig warning without MMU
If MMU is not set, Kconfig warning this:
WARNING: unmet direct dependencies detected for UIO
Depends on [n]: MMU [=n]
Selected by [y]:
- CNIC [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_BROADCOM [=y] && PCI [=y] && (IPV6 [=y] || IPV6 [=y]=n)
Make CNIC depend on UIO instead of select it to fix this.
Reported-by: Hulk Robot <hulkci@...wei.com>
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/net/ethernet/broadcom/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig
index 53055ce..7acb677 100644
--- a/drivers/net/ethernet/broadcom/Kconfig
+++ b/drivers/net/ethernet/broadcom/Kconfig
@@ -87,8 +87,8 @@ config BNX2
config CNIC
tristate "QLogic CNIC support"
depends on PCI && (IPV6 || IPV6=n)
+ depends on UIO
select BNX2
- select UIO
---help---
This driver supports offload features of QLogic bnx2 gigabit
Ethernet cards.
--
2.7.4
Powered by blists - more mailing lists