[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201608260148.AroC6kfr%fengguang.wu@intel.com>
Date: Fri, 26 Aug 2016 01:10:55 +0800
From: kbuild test robot <lkp@...el.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: kbuild-all@...org, netdev@...r.kernel.org, davem@...emloft.net,
idosch@...lanox.com, eladr@...lanox.com, yotamg@...lanox.com
Subject: Re: [patch net] team: loadbalance: push lacpdus to exact delivery
Hi Jiri,
[auto build test ERROR on net/master]
url: https://github.com/0day-ci/linux/commits/Jiri-Pirko/team-loadbalance-push-lacpdus-to-exact-delivery/20160826-004635
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64
All errors (new ones prefixed by >>):
drivers/net/team/team_mode_loadbalance.c:27:21: sparse: undefined identifier 'is_link_local_ether_addr'
drivers/net/team/team_mode_loadbalance.c: In function 'lb_receive':
>> drivers/net/team/team_mode_loadbalance.c:27:7: error: implicit declaration of function 'is_link_local_ether_addr' [-Werror=implicit-function-declaration]
if (is_link_local_ether_addr(dest) && dest[5] == 0x02)
^
cc1: some warnings being treated as errors
vim +/is_link_local_ether_addr +27 drivers/net/team/team_mode_loadbalance.c
21 struct sk_buff *skb)
22 {
23 if (unlikely(skb->protocol == htons(ETH_P_SLOW))) {
24 /* LACPDU packets should go to exact delivery */
25 const unsigned char *dest = eth_hdr(skb)->h_dest;
26
> 27 if (is_link_local_ether_addr(dest) && dest[5] == 0x02)
28 return RX_HANDLER_EXACT;
29 }
30 return RX_HANDLER_ANOTHER;
---
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/octet-stream" (47062 bytes)
Powered by blists - more mailing lists