All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Pirko <jiri@resnulli.us>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, f.fainelli@gmail.com, sfeldma@gmail.com,
	rdunlap@infradead.org
Subject: [patch net-next] switchdev: select INET in Kconfig
Date: Wed, 11 Mar 2015 10:49:12 +0100	[thread overview]
Message-ID: <1426067352-9327-1-git-send-email-jiri@resnulli.us> (raw)

This would fix randconfig compile error:
net/built-in.o: In function `netdev_switch_fib_ipv4_abort':
(.text+0xf7811): undefined reference to `fib_flush_external'

Also it fixes following warning:
warning: (NET_DSA) selects NET_SWITCHDEV which has unmet direct dependencies (NET && INET)

Suggested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
---
 net/switchdev/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/switchdev/Kconfig b/net/switchdev/Kconfig
index 86a47e1..3487940 100644
--- a/net/switchdev/Kconfig
+++ b/net/switchdev/Kconfig
@@ -4,7 +4,7 @@
 
 config NET_SWITCHDEV
 	bool "Switch (and switch-ish) device support (EXPERIMENTAL)"
-	depends on INET
+	select INET
 	---help---
 	  This module provides glue between core networking code and device
 	  drivers in order to support hardware switch chips in very generic
-- 
1.9.3

             reply	other threads:[~2015-03-11  9:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-11  9:49 Jiri Pirko [this message]
2015-03-11 22:00 ` [patch net-next] switchdev: select INET in Kconfig David Miller
2015-03-11 15:36 Alexei Starovoitov
2015-03-11 16:20 ` Jiri Pirko
2015-03-11 18:14 ` David Miller
2015-03-11 16:26 Alexei Starovoitov
2015-03-11 16:34 ` Florian Fainelli

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=1426067352-9327-1-git-send-email-jiri@resnulli.us \
    --to=jiri@resnulli.us \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=sfeldma@gmail.com \
    /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 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.