All of lore.kernel.org
 help / color / mirror / Atom feed
* [rcu:rcu/next 29/29] kernel/rcu/rcutorture.c:1369:3: error: implicit declaration of function 'srcutorture_get_gp_data'
@ 2017-04-19  1:26 kbuild test robot
  2017-04-19  1:31 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-04-19  1:26 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1581 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
head:   b4d55cac0a93834e7e79143111a0b8ecea49a630
commit: b4d55cac0a93834e7e79143111a0b8ecea49a630 [29/29] srcu: Make rcutorture writer stalls print SRCU GP state
config: x86_64-randconfig-x012-201716 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout b4d55cac0a93834e7e79143111a0b8ecea49a630
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   kernel/rcu/rcutorture.c: In function 'rcu_torture_stats_print':
>> kernel/rcu/rcutorture.c:1369:3: error: implicit declaration of function 'srcutorture_get_gp_data' [-Werror=implicit-function-declaration]
      srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp,
      ^~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/srcutorture_get_gp_data +1369 kernel/rcu/rcutorture.c

  1363			int __maybe_unused flags = 0;
  1364			unsigned long __maybe_unused gpnum = 0;
  1365			unsigned long __maybe_unused completed = 0;
  1366	
  1367			rcutorture_get_gp_data(cur_ops->ttype,
  1368					       &flags, &gpnum, &completed);
> 1369			srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp,
  1370						&flags, &gpnum, &completed);
  1371			wtp = READ_ONCE(writer_task);
  1372			pr_alert("??? Writer stall state %s(%d) g%lu c%lu f%#x ->state %#lx\n",

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32492 bytes --]

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

* Re: [rcu:rcu/next 29/29] kernel/rcu/rcutorture.c:1369:3: error: implicit declaration of function 'srcutorture_get_gp_data'
  2017-04-19  1:26 [rcu:rcu/next 29/29] kernel/rcu/rcutorture.c:1369:3: error: implicit declaration of function 'srcutorture_get_gp_data' kbuild test robot
@ 2017-04-19  1:31 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2017-04-19  1:31 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-kernel

On Wed, Apr 19, 2017 at 09:26:55AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
> head:   b4d55cac0a93834e7e79143111a0b8ecea49a630
> commit: b4d55cac0a93834e7e79143111a0b8ecea49a630 [29/29] srcu: Make rcutorture writer stalls print SRCU GP state
> config: x86_64-randconfig-x012-201716 (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         git checkout b4d55cac0a93834e7e79143111a0b8ecea49a630
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All errors (new ones prefixed by >>):
> 
>    kernel/rcu/rcutorture.c: In function 'rcu_torture_stats_print':
> >> kernel/rcu/rcutorture.c:1369:3: error: implicit declaration of function 'srcutorture_get_gp_data' [-Werror=implicit-function-declaration]
>       srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp,
>       ^~~~~~~~~~~~~~~~~~~~~~~
>    cc1: some warnings being treated as errors

Yes, I should have used "experimental" as branch name.  Apologies for
the noise!

							Thanx, Paul

> vim +/srcutorture_get_gp_data +1369 kernel/rcu/rcutorture.c
> 
>   1363			int __maybe_unused flags = 0;
>   1364			unsigned long __maybe_unused gpnum = 0;
>   1365			unsigned long __maybe_unused completed = 0;
>   1366	
>   1367			rcutorture_get_gp_data(cur_ops->ttype,
>   1368					       &flags, &gpnum, &completed);
> > 1369			srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp,
>   1370						&flags, &gpnum, &completed);
>   1371			wtp = READ_ONCE(writer_task);
>   1372			pr_alert("??? Writer stall state %s(%d) g%lu c%lu f%#x ->state %#lx\n",
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

end of thread, other threads:[~2017-04-19  1:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-19  1:26 [rcu:rcu/next 29/29] kernel/rcu/rcutorture.c:1369:3: error: implicit declaration of function 'srcutorture_get_gp_data' kbuild test robot
2017-04-19  1:31 ` Paul E. McKenney

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.