netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Florian Westphal <fw@strlen.de>
Cc: kbuild-all@01.org, netfilter-devel@vger.kernel.org,
	Florian Westphal <fw@strlen.de>
Subject: Re: [PATCH nf-next] netfilter: use_nf_conn_expires helper in more places
Date: Wed, 3 Aug 2016 13:05:38 +0800	[thread overview]
Message-ID: <201608031302.wzV7WZoE%fengguang.wu@intel.com> (raw)
In-Reply-To: <1470185107-17332-1-git-send-email-fw@strlen.de>

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

Hi Florian,

[auto build test ERROR on nf-next/master]

url:    https://github.com/0day-ci/linux/commits/Florian-Westphal/netfilter-use_nf_conn_expires-helper-in-more-places/20160803-124239
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: i386-randconfig-x018-201631 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   net/netfilter/nf_conntrack_standalone.c: In function 'ct_seq_show':
>> net/netfilter/nf_conntrack_standalone.c:227:6: error: implicit declaration of function 'nf_ct_expires' [-Werror=implicit-function-declaration]
         nf_ct_expires(ct)  / HZ);
         ^~~~~~~~~~~~~
>> net/netfilter/nf_conntrack_standalone.c:224:35: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'int' [-Wformat=]
     seq_printf(s, "%-8s %u %-8s %u %ld ",
                                      ^
   cc1: some warnings being treated as errors
--
   net/netfilter/nf_conntrack_netlink.c: In function 'ctnetlink_dump_timeout':
>> net/netfilter/nf_conntrack_netlink.c:152:17: error: implicit declaration of function 'nf_ct_expires' [-Werror=implicit-function-declaration]
     long timeout = nf_ct_expires(ct) / HZ;
                    ^~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   net/netfilter/xt_conntrack.c: In function 'conntrack_mt':
>> net/netfilter/xt_conntrack.c:236:27: error: implicit declaration of function 'nf_ct_expires' [-Werror=implicit-function-declaration]
      unsigned long expires = nf_ct_expires(ct) / HZ;
                              ^~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/nf_ct_expires +227 net/netfilter/nf_conntrack_standalone.c

   218		l3proto = __nf_ct_l3proto_find(nf_ct_l3num(ct));
   219		NF_CT_ASSERT(l3proto);
   220		l4proto = __nf_ct_l4proto_find(nf_ct_l3num(ct), nf_ct_protonum(ct));
   221		NF_CT_ASSERT(l4proto);
   222	
   223		ret = -ENOSPC;
 > 224		seq_printf(s, "%-8s %u %-8s %u %ld ",
   225			   l3proto->name, nf_ct_l3num(ct),
   226			   l4proto->name, nf_ct_protonum(ct),
 > 227			   nf_ct_expires(ct)  / HZ);
   228	
   229		if (l4proto->print_conntrack)
   230			l4proto->print_conntrack(s, ct);

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 26622 bytes --]

  reply	other threads:[~2016-08-03  5:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-03  0:45 [PATCH nf-next] netfilter: use_nf_conn_expires helper in more places Florian Westphal
2016-08-03  5:05 ` kbuild test robot [this message]
2016-08-03 12:53   ` Florian Westphal
2016-08-03 13:26     ` [kbuild-all] " Fengguang Wu
2016-08-03  5:10 ` kbuild test robot
2016-08-12 10:25 ` Pablo Neira Ayuso

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=201608031302.wzV7WZoE%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=fw@strlen.de \
    --cc=kbuild-all@01.org \
    --cc=netfilter-devel@vger.kernel.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).