lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201804200512.UPDdL7ln%fengguang.wu@intel.com>
Date:   Fri, 20 Apr 2018 05:33:16 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Stephen Hemminger <stephen@...workplumber.org>
Cc:     kbuild-all@...org, netdev@...r.kernel.org
Subject: [net-next:master 23/31] drivers/net/hyperv/rndis_filter.c:1243:
 undefined reference to `ucs2_as_utf8'

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

Download attachment ".config.gz" of type "application/gzip" (31389 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ