mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Florian Westphal <fw@strlen.de>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org,
	Pablo Neira Ayuso <pablo@netfilter.org>
Subject: [netfilter-nf-next:master 9/12] net/netfilter/nf_conntrack_core.c:670:19: error: no member named 'ecache' in 'struct nf_conntrack_net'
Date: Thu, 3 Mar 2022 20:23:03 +0800	[thread overview]
Message-ID: <202203032033.frsNjH8R-lkp@intel.com> (raw)

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git master
head:   25485ffb54ac073e82957218404e303469477c2f
commit: 3ad61edaa5ac46811b4ea07a994428ead31e7468 [9/12] netfilter: conntrack: remove the percpu dying list
config: riscv-randconfig-r042-20220303 (https://download.01.org/0day-ci/archive/20220303/202203032033.frsNjH8R-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git/commit/?id=3ad61edaa5ac46811b4ea07a994428ead31e7468
        git remote add netfilter-nf-next git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next.git
        git fetch --no-tags netfilter-nf-next master
        git checkout 3ad61edaa5ac46811b4ea07a994428ead31e7468
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash net/netfilter/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> net/netfilter/nf_conntrack_core.c:670:19: error: no member named 'ecache' in 'struct nf_conntrack_net'
           spin_lock(&cnet->ecache.dying_lock);
                      ~~~~  ^
   net/netfilter/nf_conntrack_core.c:672:13: error: no member named 'ecache' in 'struct nf_conntrack_net'
                                    &cnet->ecache.dying_list);
                                     ~~~~  ^
   net/netfilter/nf_conntrack_core.c:673:21: error: no member named 'ecache' in 'struct nf_conntrack_net'
           spin_unlock(&cnet->ecache.dying_lock);
                        ~~~~  ^
   3 errors generated.


vim +670 net/netfilter/nf_conntrack_core.c

dd7669a92c6066 Pablo Neira Ayuso 2009-06-13  665  
38a419ee4e646c Florian Westphal  2022-02-24  666  static void nf_ct_add_to_ecache_list(struct nf_conn *ct)
38a419ee4e646c Florian Westphal  2022-02-24  667  {
38a419ee4e646c Florian Westphal  2022-02-24  668  	struct nf_conntrack_net *cnet = nf_ct_pernet(nf_ct_net(ct));
38a419ee4e646c Florian Westphal  2022-02-24  669  
38a419ee4e646c Florian Westphal  2022-02-24 @670  	spin_lock(&cnet->ecache.dying_lock);
38a419ee4e646c Florian Westphal  2022-02-24  671  	hlist_nulls_add_head_rcu(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode,
38a419ee4e646c Florian Westphal  2022-02-24  672  				 &cnet->ecache.dying_list);
38a419ee4e646c Florian Westphal  2022-02-24  673  	spin_unlock(&cnet->ecache.dying_lock);
38a419ee4e646c Florian Westphal  2022-02-24  674  }
38a419ee4e646c Florian Westphal  2022-02-24  675  

:::::: The code at line 670 was first introduced by commit
:::::: 38a419ee4e646c1a6427f98717ad0bfac9762607 netfilter: ecache: use dedicated list for event redelivery

:::::: TO: Florian Westphal <fw@strlen.de>
:::::: CC: Pablo Neira Ayuso <pablo@netfilter.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

                 reply	other threads:[~2022-03-03 12:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202203032033.frsNjH8R-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=fw@strlen.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®