Re: [PATCH] net: emac: emac gigabit ethernet controller driver

From: kbuild test robot
Date: Mon Dec 07 2015 - 18:38:20 EST


Hi Gilad,

[auto build test ERROR on net/master]
[also build test ERROR on v4.4-rc4 next-20151207]

url: https://github.com/0day-ci/linux/commits/Gilad-Avidov/net-emac-emac-gigabit-ethernet-controller-driver/20151208-070026
config: openrisc-allyesconfig (attached as .config)
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=openrisc

All errors (new ones prefixed by >>):

drivers/net/ethernet/qualcomm/emac/emac-mac.c: In function 'emac_tso_csum':
>> drivers/net/ethernet/qualcomm/emac/emac-mac.c:2086:4: error: implicit declaration of function 'csum_ipv6_magic'

vim +/csum_ipv6_magic +2086 drivers/net/ethernet/qualcomm/emac/emac-mac.c

2080 union emac_tpd extra_tpd;
2081
2082 memset(tpd, 0, sizeof(*tpd));
2083 memset(&extra_tpd, 0, sizeof(extra_tpd));
2084
2085 ipv6_hdr(skb)->payload_len = 0;
> 2086 tcp_hdr(skb)->check = ~csum_ipv6_magic(
2087 &ipv6_hdr(skb)->saddr,
2088 &ipv6_hdr(skb)->daddr,
2089 0, IPPROTO_TCP, 0);

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data