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-20181120]
[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: sh-allyesconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 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
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=sh 

All errors (new ones prefixed by >>):

>> net/ipv6/netfilter/nf_nat_proto_icmpv6.c:85:15: error: initialization from 
>> incompatible pointer type [-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 <ka...@trash.net>
:::::: CC: Pablo Neira Ayuso <pa...@netfilter.org>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to