[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 Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux