Re: [patch net] team: loadbalance: push lacpdus to exact delivery
From: kbuild test robot <hidden>
Date: 2016-08-25 17:09:10
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':
quoted
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 Attachments
- .config.gz [application/octet-stream] 47062 bytes