From: kbuild test robot <lkp@intel.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: kbuild-all@01.org, netdev@vger.kernel.org
Subject: [net-next:master 23/31] drivers/net/hyperv/rndis_filter.c:1243: undefined reference to `ucs2_as_utf8'
Date: Fri, 20 Apr 2018 05:33:16 +0800 [thread overview]
Message-ID: <201804200512.UPDdL7ln%fengguang.wu@intel.com> (raw)
[-- 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 --]
reply other threads:[~2018-04-19 21:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201804200512.UPDdL7ln%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox