All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Joel Fernandes (Google)" <joel@joelfernandes.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jfern:rcu/rcutop-debugobj 2/4] kernel/rcu/tiny.c:131:17: error: too few arguments to function 'debug_rcu_head_unqueue'
Date: Sat, 22 Apr 2023 03:32:36 +0800	[thread overview]
Message-ID: <202304220309.q253n5Li-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git rcu/rcutop-debugobj
head:   6b836c3cf663fc9a4fbbe3c14bd8038f84fcd8ed
commit: 6a0f43fcea9122f89ea9994453bf0b8f3203e0a7 [2/4] rcu/debug: Add support for recording stats of RCU CBs
config: m68k-randconfig-r014-20230421 (https://download.01.org/0day-ci/archive/20230422/202304220309.q253n5Li-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.1.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://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/commit/?id=6a0f43fcea9122f89ea9994453bf0b8f3203e0a7
        git remote add jfern https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git
        git fetch --no-tags jfern rcu/rcutop-debugobj
        git checkout 6a0f43fcea9122f89ea9994453bf0b8f3203e0a7
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash kernel/rcu/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304220309.q253n5Li-lkp@intel.com/

All errors (new ones prefixed by >>):

   kernel/rcu/tiny.c: In function 'rcu_process_callbacks':
>> kernel/rcu/tiny.c:131:17: error: too few arguments to function 'debug_rcu_head_unqueue'
     131 |                 debug_rcu_head_unqueue(list);
         |                 ^~~~~~~~~~~~~~~~~~~~~~
   In file included from kernel/rcu/tiny.c:28:
   kernel/rcu/rcu.h:205:20: note: declared here
     205 | static inline void debug_rcu_head_unqueue(struct rcu_head *head, struct rcu_head_debug_data **datap)
         |                    ^~~~~~~~~~~~~~~~~~~~~~


vim +/debug_rcu_head_unqueue +131 kernel/rcu/tiny.c

77a40f97030b27 kernel/rcu/tiny.c Joel Fernandes (Google  2019-08-30  105) 
65cfe3583b612a kernel/rcu/tiny.c Paul E. McKenney        2018-07-01  106  /* Invoke the RCU callbacks whose grace period has elapsed.  */
65cfe3583b612a kernel/rcu/tiny.c Paul E. McKenney        2018-07-01  107  static __latent_entropy void rcu_process_callbacks(struct softirq_action *unused)
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  108  {
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  109  	struct rcu_head *next, *list;
4ce5b90340879c kernel/rcutiny.c  Ingo Molnar             2009-10-26  110  	unsigned long flags;
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  111  
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  112  	/* Move the ready-to-invoke callbacks to a local list. */
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  113  	local_irq_save(flags);
709fdce7545c97 kernel/rcu/tiny.c Paul E. McKenney        2018-07-03  114  	if (rcu_ctrlblk.donetail == &rcu_ctrlblk.rcucblist) {
6e91f8cb138625 kernel/rcu/tiny.c Paul E. McKenney        2015-05-11  115  		/* No callbacks ready, so just leave. */
6e91f8cb138625 kernel/rcu/tiny.c Paul E. McKenney        2015-05-11  116  		local_irq_restore(flags);
6e91f8cb138625 kernel/rcu/tiny.c Paul E. McKenney        2015-05-11  117  		return;
6e91f8cb138625 kernel/rcu/tiny.c Paul E. McKenney        2015-05-11  118  	}
709fdce7545c97 kernel/rcu/tiny.c Paul E. McKenney        2018-07-03  119  	list = rcu_ctrlblk.rcucblist;
709fdce7545c97 kernel/rcu/tiny.c Paul E. McKenney        2018-07-03  120  	rcu_ctrlblk.rcucblist = *rcu_ctrlblk.donetail;
709fdce7545c97 kernel/rcu/tiny.c Paul E. McKenney        2018-07-03  121  	*rcu_ctrlblk.donetail = NULL;
709fdce7545c97 kernel/rcu/tiny.c Paul E. McKenney        2018-07-03  122  	if (rcu_ctrlblk.curtail == rcu_ctrlblk.donetail)
709fdce7545c97 kernel/rcu/tiny.c Paul E. McKenney        2018-07-03  123  		rcu_ctrlblk.curtail = &rcu_ctrlblk.rcucblist;
709fdce7545c97 kernel/rcu/tiny.c Paul E. McKenney        2018-07-03  124  	rcu_ctrlblk.donetail = &rcu_ctrlblk.rcucblist;
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  125  	local_irq_restore(flags);
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  126  
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  127  	/* Invoke the callbacks on the local list. */
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  128  	while (list) {
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  129  		next = list->next;
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  130  		prefetch(next);
551d55a944b143 kernel/rcutiny.c  Mathieu Desnoyers       2010-04-17 @131  		debug_rcu_head_unqueue(list);
b2c0710c464ede kernel/rcutiny.c  Paul E. McKenney        2010-09-09  132  		local_bh_disable();
77a40f97030b27 kernel/rcu/tiny.c Joel Fernandes (Google  2019-08-30  133) 		rcu_reclaim_tiny(list);
b2c0710c464ede kernel/rcutiny.c  Paul E. McKenney        2010-09-09  134  		local_bh_enable();
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  135  		list = next;
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  136  	}
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  137  }
9b1d82fa161170 kernel/rcutiny.c  Paul E. McKenney        2009-10-25  138  

:::::: The code at line 131 was first introduced by commit
:::::: 551d55a944b143ef26fbd482d1c463199d6f65cf tree/tiny rcu: Add debug RCU head objects

:::::: TO: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
:::::: CC: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

             reply	other threads:[~2023-04-21 19:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21 19:32 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-30 15:47 [jfern:rcu/rcutop-debugobj 2/4] kernel/rcu/tiny.c:131:17: error: too few arguments to function 'debug_rcu_head_unqueue' kernel test robot

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=202304220309.q253n5Li-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=joel@joelfernandes.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.