Re: [PATCH nf-next v5] netfilter: nft_ct: add ct timeout support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Harsha,

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/Harsha-Sharma/netfilter-nft_ct-add-ct-timeout-support/20180706-001529
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: i386-randconfig-x013-201826 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> net/netfilter/nft_ct.c:1115:11: error: 'nft_ct_timeout_obj_eval' undeclared here (not in a function); did you mean 'nft_ct_timeout_obj_ops'?
     .eval  = nft_ct_timeout_obj_eval,
              ^~~~~~~~~~~~~~~~~~~~~~~
              nft_ct_timeout_obj_ops
>> net/netfilter/nft_ct.c:1116:11: error: 'nft_ct_timeout_obj_init' undeclared here (not in a function); did you mean 'nft_ct_timeout_obj_eval'?
     .init  = nft_ct_timeout_obj_init,
              ^~~~~~~~~~~~~~~~~~~~~~~
              nft_ct_timeout_obj_eval
>> net/netfilter/nft_ct.c:1117:13: error: 'nft_ct_timeout_obj_destroy' undeclared here (not in a function); did you mean 'nft_ct_timeout_obj_init'?
     .destroy = nft_ct_timeout_obj_destroy,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
                nft_ct_timeout_obj_init
>> net/netfilter/nft_ct.c:1118:11: error: 'nft_ct_timeout_obj_dump' undeclared here (not in a function); did you mean 'nft_ct_timeout_obj_init'?
     .dump  = nft_ct_timeout_obj_dump,
              ^~~~~~~~~~~~~~~~~~~~~~~
              nft_ct_timeout_obj_init

vim +1115 net/netfilter/nft_ct.c

  1110	
  1111	static struct nft_object_type nft_ct_timeout_obj_type;
  1112	static const struct nft_object_ops nft_ct_timeout_obj_ops = {
  1113		.type		= &nft_ct_timeout_obj_type,
  1114		.size		= sizeof(struct nft_ct_timeout_obj),
> 1115		.eval		= nft_ct_timeout_obj_eval,
> 1116		.init		= nft_ct_timeout_obj_init,
> 1117		.destroy	= nft_ct_timeout_obj_destroy,
> 1118		.dump		= nft_ct_timeout_obj_dump,
  1119	};
  1120	

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