diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2021-04-28 15:09:46 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-04-28 23:06:45 +0200 |
commit | 4a52dd8fefb45626dace70a63c0738dbd83b7edb (patch) | |
tree | 088067451677e1666b849f15612184aedcd920cd /net/dsa/Kconfig | |
parent | net: netrom: nr_in: Remove redundant assignment to ns (diff) | |
download | linux-4a52dd8fefb45626dace70a63c0738dbd83b7edb.tar.xz linux-4a52dd8fefb45626dace70a63c0738dbd83b7edb.zip |
net: selftest: fix build issue if INET is disabled
In case ethernet driver is enabled and INET is disabled, selftest will
fail to build.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: 3e1e58d64c3d ("net: add generic selftest support")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210428130947.29649-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/Kconfig')
-rw-r--r-- | net/dsa/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig index 5baba7021427..00bb89b2d86f 100644 --- a/net/dsa/Kconfig +++ b/net/dsa/Kconfig @@ -9,7 +9,7 @@ menuconfig NET_DSA select NET_SWITCHDEV select PHYLINK select NET_DEVLINK - select NET_SELFTESTS + imply NET_SELFTESTS help Say Y if you want to enable support for the hardware switches supported by the Distributed Switch Architecture. |