All of lore.kernel.org
 help / color / mirror / Atom feed
* [jfern:rcu/rcutop-debugobj 2/4] kernel/rcu/tiny.c:131:17: error: too few arguments to function 'debug_rcu_head_unqueue'
@ 2023-04-21 19:32 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-04-21 19:32 UTC (permalink / raw)
  To: Joel Fernandes (Google); +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [jfern:rcu/rcutop-debugobj 2/4] kernel/rcu/tiny.c:131:17: error: too few arguments to function 'debug_rcu_head_unqueue'
@ 2023-04-30 15:47 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-04-30 15:47 UTC (permalink / raw)
  To: Joel Fernandes (Google); +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git rcu/rcutop-debugobj
head:   bb4ed72d010d114a825cba50a2f910b8a6bdadf7
commit: 14152f0da3bdbf3547684655bec19bf657624886 [2/4] rcu/debug: Add support for recording stats of RCU CBs
config: i386-randconfig-s002 (https://download.01.org/0day-ci/archive/20230430/202304302338.3EKmhvhI-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/commit/?id=14152f0da3bdbf3547684655bec19bf657624886
        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 14152f0da3bdbf3547684655bec19bf657624886
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 olddefconfig
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash fs/reiserfs/ 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/202304302338.3EKmhvhI-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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-30 15:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-21 19:32 [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
  -- strict thread matches above, loose matches on Subject: below --
2023-04-30 15:47 kernel test robot

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.