Hi Jeremy,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on nf-next/master]

url:    
https://github.com/0day-ci/linux/commits/Jeremy-Sowden/Add-config-option-checks-to-netfilter-headers/20190902-050403
base:   
https://kernel.googlesource.com/pub/scm/linux/kernel/git/pablo/nf-next.git 
master
config: mips-malta_kvm_defconfig (attached as .config)
compiler: mipsel-linux-gcc (GCC) 7.4.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.4.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <[email protected]>

All errors (new ones prefixed by >>):

   In file included from net/sched/cls_api.c:38:0:
>> include/net/tc_act/tc_ct.h:22:23: error: field 'range' has incomplete type
     struct nf_nat_range2 range;
                          ^~~~~

vim +/range +22 include/net/tc_act/tc_ct.h

b57dc7c13ea90e Paul Blakey 2019-07-09  11  
b57dc7c13ea90e Paul Blakey 2019-07-09  12  struct tcf_ct_params {
b57dc7c13ea90e Paul Blakey 2019-07-09  13       struct nf_conn *tmpl;
b57dc7c13ea90e Paul Blakey 2019-07-09  14       u16 zone;
b57dc7c13ea90e Paul Blakey 2019-07-09  15  
b57dc7c13ea90e Paul Blakey 2019-07-09  16       u32 mark;
b57dc7c13ea90e Paul Blakey 2019-07-09  17       u32 mark_mask;
b57dc7c13ea90e Paul Blakey 2019-07-09  18  
b57dc7c13ea90e Paul Blakey 2019-07-09  19       u32 
labels[NF_CT_LABELS_MAX_SIZE / sizeof(u32)];
b57dc7c13ea90e Paul Blakey 2019-07-09  20       u32 
labels_mask[NF_CT_LABELS_MAX_SIZE / sizeof(u32)];
b57dc7c13ea90e Paul Blakey 2019-07-09  21  
b57dc7c13ea90e Paul Blakey 2019-07-09 @22       struct nf_nat_range2 range;
b57dc7c13ea90e Paul Blakey 2019-07-09  23       bool ipv4_range;
b57dc7c13ea90e Paul Blakey 2019-07-09  24  
b57dc7c13ea90e Paul Blakey 2019-07-09  25       u16 ct_action;
b57dc7c13ea90e Paul Blakey 2019-07-09  26  
b57dc7c13ea90e Paul Blakey 2019-07-09  27       struct rcu_head rcu;
b57dc7c13ea90e Paul Blakey 2019-07-09  28  };
b57dc7c13ea90e Paul Blakey 2019-07-09  29  

:::::: The code at line 22 was first introduced by commit
:::::: b57dc7c13ea90e09ae15f821d2583fa0231b4935 net/sched: Introduce action ct

:::::: TO: Paul Blakey <[email protected]>
:::::: CC: David S. Miller <[email protected]>

---
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