mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@01.org, Pablo Neira Ayuso <pablo@netfilter.org>,
	Patrick McHardy <kaber@trash.net>,
	Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>,
	netfilter-devel@vger.kernel.org, coreteam@netfilter.org,
	linux-kernel@vger.kernel.org,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	"David S. Miller" <davem@davemloft.net>,
	netdev@vger.kernel.org
Subject: Re: [PATCH] netfilter: turn NF_HOOK into an inline function
Date: Fri, 9 Oct 2015 21:03:57 +0800	[thread overview]
Message-ID: <201510092113.o4u2vjMD%fengguang.wu@intel.com> (raw)
In-Reply-To: <7665226.mEs2QJDTOT@wuerfel>

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

Hi Arnd,

[auto build test ERROR on next-20151009 -- if it's inappropriate base, please ignore]

config: i386-randconfig-i0-201540 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   net/decnet/dn_route.c: In function 'dn_forward':
>> net/decnet/dn_route.c:823:32: error: 'dev' undeclared (first use in this function)
             &init_net, NULL, skb, dev, skb->dev,
                                   ^
   net/decnet/dn_route.c:823:32: note: each undeclared identifier is reported only once for each function it appears in

vim +/dev +823 net/decnet/dn_route.c

^1da177e Linus Torvalds    2005-04-16  807  	 */
^1da177e Linus Torvalds    2005-04-16  808  	if (++cb->hops > 30)
^1da177e Linus Torvalds    2005-04-16  809  		goto drop;
^1da177e Linus Torvalds    2005-04-16  810  
d8d1f30b Changli Gao       2010-06-10  811  	skb->dev = rt->dst.dev;
^1da177e Linus Torvalds    2005-04-16  812  
^1da177e Linus Torvalds    2005-04-16  813  	/*
^1da177e Linus Torvalds    2005-04-16  814  	 * If packet goes out same interface it came in on, then set
^1da177e Linus Torvalds    2005-04-16  815  	 * the Intra-Ethernet bit. This has no effect for short
^1da177e Linus Torvalds    2005-04-16  816  	 * packets, so we don't need to test for them here.
^1da177e Linus Torvalds    2005-04-16  817  	 */
^1da177e Linus Torvalds    2005-04-16  818  	cb->rt_flags &= ~DN_RT_F_IE;
^1da177e Linus Torvalds    2005-04-16  819  	if (rt->rt_flags & RTCF_DOREDIRECT)
^1da177e Linus Torvalds    2005-04-16  820  		cb->rt_flags |= DN_RT_F_IE;
^1da177e Linus Torvalds    2005-04-16  821  
29a26a56 Eric W. Biederman 2015-09-15  822  	return NF_HOOK(NFPROTO_DECNET, NF_DN_FORWARD,
29a26a56 Eric W. Biederman 2015-09-15 @823  		       &init_net, NULL, skb, dev, skb->dev,
8f40b161 David S. Miller   2011-07-17  824  		       dn_to_neigh_output);
^1da177e Linus Torvalds    2005-04-16  825  
^1da177e Linus Torvalds    2005-04-16  826  drop:
^1da177e Linus Torvalds    2005-04-16  827  	kfree_skb(skb);
^1da177e Linus Torvalds    2005-04-16  828  	return NET_RX_DROP;
^1da177e Linus Torvalds    2005-04-16  829  }
^1da177e Linus Torvalds    2005-04-16  830  
^1da177e Linus Torvalds    2005-04-16  831  /*

:::::: The code at line 823 was first introduced by commit
:::::: 29a26a56803855a79dbd028cd61abee56237d6e5 netfilter: Pass struct net into the netfilter hooks

:::::: TO: Eric W. Biederman <ebiederm@xmission.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
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: 20113 bytes --]

  reply	other threads:[~2015-10-09 13:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09 12:45 Arnd Bergmann
2015-10-09 13:03 ` kbuild test robot [this message]
2015-10-09 13:15   ` Arnd Bergmann
2015-10-09 18:21     ` Eric W. Biederman
2015-10-09 18:28 ` Eric W. Biederman
2015-10-09 18:45   ` [PATCH v2] " Arnd Bergmann
2015-10-16 16:45     ` 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=201510092113.o4u2vjMD%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=coreteam@netfilter.org \
    --cc=davem@davemloft.net \
    --cc=ebiederm@xmission.com \
    --cc=kaber@trash.net \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.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

all inboxes | Powered by JetHome®