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: .config.gz
Description: application/gzip

Reply via email to