浏览代码

hv_netvsc: select needed ucs2_string routine

The conversion of rndis friendly name to utf8 uses a standard
kernel routine which is optional in config. Therefore build
would fail for some configurations. Resolve by selecting needed
library.

Fixes: 0fe554a46a0f ("hv_netvsc: propogate Hyper-V friendly name into interface alias")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stephen Hemminger 7 年之前
父节点
当前提交
48d7a07ba3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/net/hyperv/Kconfig

+ 1 - 0
drivers/net/hyperv/Kconfig

@@ -1,5 +1,6 @@
 config HYPERV_NET
 config HYPERV_NET
 	tristate "Microsoft Hyper-V virtual network driver"
 	tristate "Microsoft Hyper-V virtual network driver"
 	depends on HYPERV
 	depends on HYPERV
+	select UCS2_STRING
 	help
 	help
 	  Select this option to enable the Hyper-V virtual network driver.
 	  Select this option to enable the Hyper-V virtual network driver.