]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
hv_netvsc: select needed ucs2_string routine
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 20 Apr 2018 15:48:47 +0000 (08:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Apr 2018 01:07:03 +0000 (21:07 -0400)
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>
drivers/net/hyperv/Kconfig

index 936968d23559903cca61c0da3d159f82658a774c..0765d5f61714e6a1a8679802cb079ea45053a2f2 100644 (file)
@@ -1,5 +1,6 @@
 config HYPERV_NET
        tristate "Microsoft Hyper-V virtual network driver"
        depends on HYPERV
+       select UCS2_STRING
        help
          Select this option to enable the Hyper-V virtual network driver.