switchdev: select INET in Kconfig
Subsystems (3)
Jiri Pirko
maintainerPATCH 1/1 switchdev: select INET in Kconfig
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)
--- net/switchdev/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/switchdev/Kconfig +1 -1
@@ -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
Signature · 1 line
1.9.3
David Miller
maintainerFrom: Jiri Pirko <[email protected]>
Date: Wed, 11 Mar 2015 10:49:12 +0100
Quoted 9 lines
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) selectsNET_SWITCHDEVwhich has unmet direct dependencies (NET && INET)Suggested-by Randy Dunlap <[email protected]>Signed-off-by Jiri Pirko <[email protected]>
You cannot use select with INET, it selects CRYPTO* stuff and therefore is not a leaf Kconfig node.