From: kbuild test robot <fengguang.wu@intel.com>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: kbuild-all@01.org, netfilter-devel@vger.kernel.org,
coreteam@netfilter.org
Subject: [nf-next:for-net-next 34/40] include/linux/netfilter_ipv4.h:15:56: warning: 'struct nf_queue_entry' declared inside parameter list will not be visible outside of this definition or declaration
Date: Tue, 19 Dec 2017 06:37:44 +0800 [thread overview]
Message-ID: <201712190642.5oR1gl2N%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2484 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git for-net-next
head: 680cba277b9779591e673100f6896e5baed7a180
commit: 887ad2114715e42b664377029ba07c714264bb87 [34/40] netfilter: remove saveroute indirection in struct nf_afinfo
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 7.2.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 887ad2114715e42b664377029ba07c714264bb87
# save the attached .config to linux build tree
make.cross ARCH=microblaze
All warnings (new ones prefixed by >>):
In file included from arch/microblaze/include/uapi/asm/byteorder.h:8:0,
from include/asm-generic/bitops/le.h:6,
from include/asm-generic/bitops.h:35,
from ./arch/microblaze/include/generated/asm/bitops.h:1,
from include/linux/bitops.h:38,
from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/module.h:9,
from net/ipv4/route.c:67:
include/linux/byteorder/big_endian.h:8:2: warning: #warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN [-Wcpp]
#warning inconsistent configuration, needs CONFIG_CPU_BIG_ENDIAN
^~~~~~~
In file included from net/ipv4/route.c:87:0:
>> include/linux/netfilter_ipv4.h:15:56: warning: 'struct nf_queue_entry' declared inside parameter list will not be visible outside of this definition or declaration
void nf_ip_saveroute(const struct sk_buff *skb, struct nf_queue_entry *entry);
^~~~~~~~~~~~~~
vim +15 include/linux/netfilter_ipv4.h
8
9 int ip_route_me_harder(struct net *net, struct sk_buff *skb, unsigned addr_type);
10 __sum16 nf_ip_checksum(struct sk_buff *skb, unsigned int hook,
11 unsigned int dataoff, u_int8_t protocol);
12 __sum16 nf_ip_checksum_partial(struct sk_buff *skb, unsigned int hook,
13 unsigned int dataoff, unsigned int len,
14 u_int8_t protocol);
> 15 void nf_ip_saveroute(const struct sk_buff *skb, struct nf_queue_entry *entry);
---
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: 13111 bytes --]
reply other threads:[~2017-12-18 22:38 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=201712190642.5oR1gl2N%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=coreteam@netfilter.org \
--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).