Skip to contentSkip to conversation

hv_netvsc: select needed ucs2_string routine

PATCH Applied Stephen Hemminger 2 participants 2 messages Apr 20, 2018 – Apr 23, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 drivers/net/hyperv/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/hyperv/Kconfig +1 -0
index 936968d23559..0765d5f61714 100644
@@ -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.
Signature · 1 line
2.17.0
maintainer Applied
#1 lore raw

From: Stephen Hemminger <[email protected]>
Date: Fri, 20 Apr 2018 08:48:47 -0700

Quoted 7 lines

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")

Please put 'net' or 'net-next' in your Subject lines as appropriate.

I guessed that this is net-next since the Fixes commit only exists there.

Applied.