All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Joel Fernandes <joel@joelfernandes.org>
Cc: kbuild-all@lists.01.org,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
	linux-kernel@vger.kernel.org,
	"Paul E. McKenney" <paulmck@kernel.org>
Subject: [ammarfaizi2-block:paulmck/linux-rcu/dev.2022.04.16a 24/24] kernel/rcu/tree_nocb.h:1162:14: error: 'rcu_nocb_is_setup' undeclared; did you mean 'rcu_nocb_setup'?
Date: Tue, 19 Apr 2022 11:15:41 +0800	[thread overview]
Message-ID: <202204191137.9uki6akh-lkp@intel.com> (raw)

tree:   https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev.2022.04.16a
head:   21b595e4233e6885bdea2819c206a470cc207ea5
commit: 21b595e4233e6885bdea2819c206a470cc207ea5 [24/24] rcu/nocb: Add an option to offload all CPUs on boot
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220419/202204191137.9uki6akh-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.0
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
        # https://github.com/ammarfaizi2/linux-block/commit/21b595e4233e6885bdea2819c206a470cc207ea5
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/dev.2022.04.16a
        git checkout 21b595e4233e6885bdea2819c206a470cc207ea5
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash

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

   In file included from kernel/rcu/tree.c:5031:
   kernel/rcu/tree_nocb.h: In function 'rcu_init_nohz':
>> kernel/rcu/tree_nocb.h:1162:14: error: 'rcu_nocb_is_setup' undeclared (first use in this function); did you mean 'rcu_nocb_setup'?
    1162 |         if (!rcu_nocb_is_setup) {
         |              ^~~~~~~~~~~~~~~~~
         |              rcu_nocb_setup
   kernel/rcu/tree_nocb.h:1162:14: note: each undeclared identifier is reported only once for each function it appears in


vim +1162 kernel/rcu/tree_nocb.h

  1153	
  1154	void __init rcu_init_nohz(void)
  1155	{
  1156		int cpu;
  1157		bool need_rcu_nocb_mask = false;
  1158		bool offload_all = false;
  1159		struct rcu_data *rdp;
  1160	
  1161	#if defined(CONFIG_RCU_NOCB_CPU_DEFAULT_ALL)
> 1162		if (!rcu_nocb_is_setup) {
  1163			need_rcu_nocb_mask = true;
  1164			offload_all = true;
  1165		}
  1166	#endif
  1167	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-04-19  3:16 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=202204191137.9uki6akh-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gwml@vger.gnuweeb.org \
    --cc=joel@joelfernandes.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.