From: kbuild test robot <lkp@intel.com>
To: Sabrina Dubroca <sd@queasysnail.net>
Cc: kbuild-all@lists.01.org, netdev@vger.kernel.org,
Steffen Klassert <steffen.klassert@secunet.com>
Subject: [ipsec-next:testing 1/2] net/ipv6/esp6.c:144:15: error: implicit declaration of function 'csum_ipv6_magic'; did you mean 'csum_tcpudp_magic'?
Date: Thu, 23 Apr 2020 20:02:30 +0800 [thread overview]
Message-ID: <202004232028.daosFvMI%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2031 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git testing
head: ce37981d9045220810dabcb9cf20a1d86202c76a
commit: 3fd2d6fdcbb7bcd1fd7110d997fb6ed6eb71dca3 [1/2] xfrm: add support for UDPv6 encapsulation of ESP
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 3fd2d6fdcbb7bcd1fd7110d997fb6ed6eb71dca3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=c6x
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
net/ipv6/esp6.c: In function 'esp_output_encap_csum':
>> net/ipv6/esp6.c:144:15: error: implicit declaration of function 'csum_ipv6_magic'; did you mean 'csum_tcpudp_magic'? [-Werror=implicit-function-declaration]
144 | uh->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr,
| ^~~~~~~~~~~~~~~
| csum_tcpudp_magic
cc1: some warnings being treated as errors
vim +144 net/ipv6/esp6.c
133
134 static void esp_output_encap_csum(struct sk_buff *skb)
135 {
136 /* UDP encap with IPv6 requires a valid checksum */
137 if (*skb_mac_header(skb) == IPPROTO_UDP) {
138 struct udphdr *uh = udp_hdr(skb);
139 struct ipv6hdr *ip6h = ipv6_hdr(skb);
140 int len = ntohs(uh->len);
141 unsigned int offset = skb_transport_offset(skb);
142 __wsum csum = skb_checksum(skb, offset, skb->len - offset, 0);
143
> 144 uh->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr,
145 len, IPPROTO_UDP, csum);
146 if (uh->check == 0)
147 uh->check = CSUM_MANGLED_0;
148 }
149 }
150
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 52562 bytes --]
next reply other threads:[~2020-04-23 12:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-23 12:02 kbuild test robot [this message]
2020-04-27 6:47 ` [ipsec-next:testing 1/2] net/ipv6/esp6.c:144:15: error: implicit declaration of function 'csum_ipv6_magic'; did you mean 'csum_tcpudp_magic'? Steffen Klassert
2020-04-27 14:32 ` Sabrina Dubroca
2020-04-28 0:21 ` [kbuild-all] " Rong Chen
2020-04-29 13:29 ` Sabrina Dubroca
2020-04-29 14:09 ` Philip Li
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=202004232028.daosFvMI%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=netdev@vger.kernel.org \
--cc=sd@queasysnail.net \
--cc=steffen.klassert@secunet.com \
/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;
as well as URLs for NNTP newsgroup(s).