From: kbuild test robot <lkp@intel.com>
To: Fernando Fernandez Mancera <ffmancera@riseup.net>
Cc: kbuild-all@01.org, netfilter-devel@vger.kernel.org,
coreteam@netfilter.org, Pablo Neira Ayuso <pablo@netfilter.org>
Subject: [nf-next:master 9/10] include/linux/netfilter_ipv6.h:174:9: error: implicit declaration of function '__cookie_v6_init_sequence'; did you mean 'cookie_init_sequence'?
Date: Tue, 18 Jun 2019 08:38:48 +0800 [thread overview]
Message-ID: <201906180840.S4d1aDLJ%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2603 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
head: d7f9b2f18eaef74b4f948c7e24e3a8f796f0c90d
commit: 3006a5224f15cf68edc4878799ac6d6089861518 [9/10] netfilter: synproxy: remove module dependency on IPv6 SYNPROXY
config: i386-randconfig-x013-201924 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 3006a5224f15cf68edc4878799ac6d6089861518
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from net//ipv6/ip6_output.c:44:0:
include/linux/netfilter_ipv6.h: In function 'nf_ipv6_cookie_init_sequence':
>> include/linux/netfilter_ipv6.h:174:9: error: implicit declaration of function '__cookie_v6_init_sequence'; did you mean 'cookie_init_sequence'? [-Werror=implicit-function-declaration]
return __cookie_v6_init_sequence(iph, th, mssp);
^~~~~~~~~~~~~~~~~~~~~~~~~
cookie_init_sequence
include/linux/netfilter_ipv6.h: In function 'nf_cookie_v6_check':
>> include/linux/netfilter_ipv6.h:189:9: error: implicit declaration of function '__cookie_v6_check'; did you mean '__cookie_v4_check'? [-Werror=implicit-function-declaration]
return __cookie_v6_check(iph, th, cookie);
^~~~~~~~~~~~~~~~~
__cookie_v4_check
cc1: some warnings being treated as errors
vim +174 include/linux/netfilter_ipv6.h
161
162 static inline u32 nf_ipv6_cookie_init_sequence(const struct ipv6hdr *iph,
163 const struct tcphdr *th,
164 u16 *mssp)
165 {
166 #if IS_MODULE(CONFIG_IPV6)
167 const struct nf_ipv6_ops *v6_ops = nf_get_ipv6_ops();
168
169 if (v6_ops)
170 return v6_ops->cookie_init_sequence(iph, th, mssp);
171
172 return 0;
173 #else
> 174 return __cookie_v6_init_sequence(iph, th, mssp);
175 #endif
176 }
177
178 static inline int nf_cookie_v6_check(const struct ipv6hdr *iph,
179 const struct tcphdr *th, __u32 cookie)
180 {
181 #if IS_MODULE(CONFIG_IPV6)
182 const struct nf_ipv6_ops *v6_ops = nf_get_ipv6_ops();
183
184 if (v6_ops)
185 return v6_ops->cookie_v6_check(iph, th, cookie);
186
187 return 0;
188 #else
> 189 return __cookie_v6_check(iph, th, cookie);
190 #endif
191 }
192
---
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: 33986 bytes --]
reply other threads:[~2019-06-18 0:39 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=201906180840.S4d1aDLJ%lkp@intel.com \
--to=lkp@intel.com \
--cc=coreteam@netfilter.org \
--cc=ffmancera@riseup.net \
--cc=kbuild-all@01.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.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;
as well as URLs for NNTP newsgroup(s).