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/20180724-145908
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: openrisc-allmodconfig (attached as .config)
compiler: or1k-linux-gcc (GCC) 6.0.0 20160327 (experimental)
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
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   net//netfilter/nft_ct.c: In function 'nft_ct_timeout_obj_destroy':
>> net//netfilter/nft_ct.c:897:3: error: implicit declaration of function 
>> 'nf_ct_untimeout' [-Werror=implicit-function-declaration]
      nf_ct_untimeout(ctx->net, priv->timeout);
      ^~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/nf_ct_untimeout +897 net//netfilter/nft_ct.c

   886  
   887  static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx,
   888                                         struct nft_object *obj)
   889  {
   890          struct nft_ct_timeout_obj *priv = nft_obj_data(obj);
   891  
   892          nf_ct_tmpl_free(priv->tmpl);
   893  
   894          if (refcount_dec_if_one(&priv->timeout->refcnt)) {
   895                  nf_ct_l4proto_put(priv->timeout->l4proto);
   896                  list_del_rcu(&priv->timeout->head);
 > 897                  nf_ct_untimeout(ctx->net, priv->timeout);
   898          }
   899  }
   900  

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