From: Randy Dunlap <rdunlap@infradead.org>
To: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Cc: Mahesh Bandewar <maheshb@google.com>,
Daniel Borkmann <daniel@iogearbox.net>,
David Miller <davem@davemloft.net>
Subject: [PATCH -next] net: ipvlan_l3s: fix kconfig dependency warning
Date: Wed, 13 Feb 2019 08:55:02 -0800 [thread overview]
Message-ID: <204a7785-a1d2-e714-653e-2cb19e36f279@infradead.org> (raw)
From: Randy Dunlap <rdunlap@infradead.org>
Fix the kconfig warning in IPVLAN_L3S when neither INET nor IPV6
is enabled:
WARNING: unmet direct dependencies detected for NET_L3_MASTER_DEV
Depends on [n]: NET [=y] && (INET [=n] || IPV6 [=n])
Selected by [y]:
- IPVLAN_L3S [=y] && NETDEVICES [=y] && NET_CORE [=y] && NETFILTER [=y]
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Mahesh Bandewar <maheshb@google.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
---
v2: simplify the dependency to IPVLAN
Seen in mmotm but applies to linux-next.
drivers/net/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20190213.orig/drivers/net/Kconfig
+++ linux-next-20190213/drivers/net/Kconfig
@@ -147,6 +147,7 @@ config MACVTAP
config IPVLAN_L3S
depends on NETFILTER
+ depends on IPVLAN
def_bool y
select NET_L3_MASTER_DEV
next reply other threads:[~2019-02-13 16:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-13 16:55 Randy Dunlap [this message]
2019-02-13 22:03 ` [PATCH -next] net: ipvlan_l3s: fix kconfig dependency warning Daniel Borkmann
2019-02-14 16:59 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=204a7785-a1d2-e714-653e-2cb19e36f279@infradead.org \
--to=rdunlap@infradead.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=maheshb@google.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox