All of lore.kernel.org
 help / color / mirror / Atom feed
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/13] include/linux/netfilter_ipv6.h:174:9: error: implicit declaration of function '__cookie_v6_init_sequence'; did you mean 'cookie_init_sequence'?
Date: Thu, 20 Jun 2019 07:30:35 +0800	[thread overview]
Message-ID: <201906200733.SHOD4SeF%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2657 bytes --]

Hi Fernando,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
head:   79ebb5bb4e38a58ca796dd242b855a4982e101d7
commit: 3006a5224f15cf68edc4878799ac6d6089861518 [9/13] netfilter: synproxy: remove module dependency on IPv6 SYNPROXY
config: x86_64-randconfig-x006-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=x86_64 

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/af_inet6.c:45: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: 37496 bytes --]

                 reply	other threads:[~2019-06-19 23:31 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=201906200733.SHOD4SeF%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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.