aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Vivier <[email protected]>2020-11-13 16:57:06 +0100
committerMichael S. Tsirkin <[email protected]>2020-11-15 17:30:54 -0500
commita312db697cb05dfa781848afe8585a1e1f2a5a99 (patch)
tree22a47029e679fbcd062ec4229c13b7613b170cc0
parentf51778db088b2407ec177f2f4da0f6290602aa3f (diff)
vdpasim: fix "mac_pton" undefined error
ERROR: modpost: "mac_pton" [drivers/vdpa/vdpa_sim/vdpa_sim.ko] undefined! mac_pton() is defined in lib/net_utils.c and is not built if NET is not set. Select GENERIC_NET_UTILS as vdpasim doesn't depend on NET. Reported-by: kernel test robot <[email protected]> Signed-off-by: Laurent Vivier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Randy Dunlap <[email protected]> # build-tested
-rw-r--r--drivers/vdpa/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig
index d7d32b656102..358f6048dd3c 100644
--- a/drivers/vdpa/Kconfig
+++ b/drivers/vdpa/Kconfig
@@ -13,6 +13,7 @@ config VDPA_SIM
depends on RUNTIME_TESTING_MENU && HAS_DMA
select DMA_OPS
select VHOST_RING
+ select GENERIC_NET_UTILS
default n
help
vDPA networking device simulator which loop TX traffic back