[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201811211848.ISo2FcMO%fengguang.wu@intel.com>
Date: Wed, 21 Nov 2018 18:41:49 +0800
From: kbuild test robot <lkp@...el.com>
To: Felix Jia <felix.jia@...iedtelesis.co.nz>
Cc: kbuild-all@...org, "David S . Miller" <davem@...emloft.net>,
Pablo Neira Ayuso <pablo@...filter.org>,
Blair Steven <blair.steven@...iedtelesis.co.nz>,
netdev@...r.kernel.org,
Anthony Lineham <anthony.lineham@...iedtelesis.co.nz>,
Scott Parlane <scott.parlane@...iedtelesis.co.nz>,
Felix Jia <felix.jia@...iedtelesis.co.nz>
Subject: Re: [PATCH v1 2/2] netfilter: Add PSID mode to MASQUERADE
Hi Blair,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on nf-next/master]
[also build test ERROR on v4.20-rc3 next-20181121]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Felix-Jia/ip6_tunnel-Adding-support-of-mapping-rules-for-MAP-E-tunnel/20181120-173346
base: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=ia64
All errors (new ones prefixed by >>):
>> net/ipv6/netfilter/nf_nat_proto_icmpv6.c:85:15: error: initialization of 'bool (*)(const struct nf_conntrack_tuple *, enum nf_nat_manip_type, const struct nf_nat_range2 *)' {aka '_Bool (*)(const struct nf_conntrack_tuple *, enum nf_nat_manip_type, const struct nf_nat_range2 *)'} from incompatible pointer type 'bool (*)(const struct nf_conntrack_tuple *, enum nf_nat_manip_type, const union nf_conntrack_man_proto *, const union nf_conntrack_man_proto *)' {aka '_Bool (*)(const struct nf_conntrack_tuple *, enum nf_nat_manip_type, const union nf_conntrack_man_proto *, const union nf_conntrack_man_proto *)'} [-Werror=incompatible-pointer-types]
.in_range = icmpv6_in_range,
^~~~~~~~~~~~~~~
net/ipv6/netfilter/nf_nat_proto_icmpv6.c:85:15: note: (near initialization for 'nf_nat_l4proto_icmpv6.in_range')
cc1: some warnings being treated as errors
vim +85 net/ipv6/netfilter/nf_nat_proto_icmpv6.c
58a317f1 Patrick McHardy 2012-08-26 81
58a317f1 Patrick McHardy 2012-08-26 82 const struct nf_nat_l4proto nf_nat_l4proto_icmpv6 = {
58a317f1 Patrick McHardy 2012-08-26 83 .l4proto = IPPROTO_ICMPV6,
58a317f1 Patrick McHardy 2012-08-26 84 .manip_pkt = icmpv6_manip_pkt,
58a317f1 Patrick McHardy 2012-08-26 @85 .in_range = icmpv6_in_range,
:::::: The code at line 85 was first introduced by commit
:::::: 58a317f1061c894d2344c0b6a18ab4a64b69b815 netfilter: ipv6: add IPv6 NAT support
:::::: TO: Patrick McHardy <kaber@...sh.net>
:::::: CC: Pablo Neira Ayuso <pablo@...filter.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (52297 bytes)
Powered by blists - more mailing lists