All of lore.kernel.org
 help / color / mirror / Atom feed
* [net-next:master 23/31] drivers/net/hyperv/rndis_filter.c:1243: undefined reference to `ucs2_as_utf8'
@ 2018-04-19 21:33 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-04-19 21:33 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: kbuild-all, netdev

[-- Attachment #1: Type: text/plain, Size: 1692 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   bda73d4ec943c4f7479603a59cad09a07c6c729a
commit: 0fe554a46a0ff855376053c7e4204673b7879f05 [23/31] hv_netvsc: propogate Hyper-V friendly name into interface alias
config: x86_64-randconfig-b0-04200208 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout 0fe554a46a0ff855376053c7e4204673b7879f05
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/net/hyperv/rndis_filter.o: In function `rndis_get_friendly_name':
>> drivers/net/hyperv/rndis_filter.c:1243: undefined reference to `ucs2_as_utf8'

vim +1243 drivers/net/hyperv/rndis_filter.c

  1226	
  1227	static void rndis_get_friendly_name(struct net_device *net,
  1228					    struct rndis_device *rndis_device,
  1229					    struct netvsc_device *net_device)
  1230	{
  1231		ucs2_char_t wname[256];
  1232		unsigned long len;
  1233		u8 ifalias[256];
  1234		u32 size;
  1235	
  1236		size = sizeof(wname);
  1237		if (rndis_filter_query_device(rndis_device, net_device,
  1238					      RNDIS_OID_GEN_FRIENDLY_NAME,
  1239					      wname, &size) != 0)
  1240			return;
  1241	
  1242		/* Convert Windows Unicode string to UTF-8 */
> 1243		len = ucs2_as_utf8(ifalias, wname, sizeof(ifalias));
  1244	
  1245		/* ignore the default value from host */
  1246		if (strcmp(ifalias, "Network Adapter") != 0)
  1247			dev_set_alias(net, ifalias, len);
  1248	}
  1249	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31389 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-19 21:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-19 21:33 [net-next:master 23/31] drivers/net/hyperv/rndis_filter.c:1243: undefined reference to `ucs2_as_utf8' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.