linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: Re: [rcu:dev.2020.12.15b 130/134] include/linux/stddef.h:8:14: error: called object is not a function or function pointer
Date: Tue, 29 Dec 2020 08:30:01 -0800	[thread overview]
Message-ID: <20201229163001.GL2657@paulmck-ThinkPad-P72> (raw)
In-Reply-To: <202012291105.rCCNspgz-lkp@intel.com>

On Tue, Dec 29, 2020 at 11:28:26AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.12.15b
> head:   f895a17eec290b0038a6294d884a9cc92d7d6e80
> commit: 7655dc620982c6505386efdaf975e6bde3c27afb [130/134] rcu-tasks: Use NULL pointer instead of empty show_rcu_tasks_*() functions
> config: ia64-randconfig-r012-20201217 (attached as .config)
> compiler: ia64-linux-gcc (GCC) 9.3.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/paulmck/linux-rcu.git/commit/?id=7655dc620982c6505386efdaf975e6bde3c27afb
>         git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
>         git fetch --no-tags rcu dev.2020.12.15b
>         git checkout 7655dc620982c6505386efdaf975e6bde3c27afb
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>

This is fixed in -rcu by reverting 4cad23d7f4de ("rcu-tasks: Use NULL
pointer instead of empty show_rcu_tasks_*() functions").  Thank you for
your testing!

							Thanx, Paul

> All errors (new ones prefixed by >>):
> 
>    In file included from arch/ia64/include/asm/pgtable.h:154,
>                     from include/linux/pgtable.h:6,
>                     from arch/ia64/include/asm/uaccess.h:40,
>                     from include/linux/uaccess.h:11,
>                     from arch/ia64/include/asm/sections.h:11,
>                     from include/linux/interrupt.h:20,
>                     from kernel/rcu/update.c:25:
>    arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
>    arch/ia64/include/asm/mmu_context.h:137:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
>      137 |  unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
>          |                                         ^~~~~~~
>    In file included from include/uapi/linux/posix_types.h:5,
>                     from include/uapi/linux/types.h:14,
>                     from include/linux/types.h:6,
>                     from kernel/rcu/update.c:20:
>    kernel/rcu/tasks.h: In function 'show_rcu_tasks_gp_kthreads':
> >> include/linux/stddef.h:8:14: error: called object is not a function or function pointer
>        8 | #define NULL ((void *)0)
>          |              ^
>    kernel/rcu/rcu.h:554:40: note: in expansion of macro 'NULL'
>      554 | #define show_rcu_tasks_rude_gp_kthread NULL
>          |                                        ^~~~
>    kernel/rcu/tasks.h:1222:2: note: in expansion of macro 'show_rcu_tasks_rude_gp_kthread'
>     1222 |  show_rcu_tasks_rude_gp_kthread();
>          |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> include/linux/stddef.h:8:14: error: called object is not a function or function pointer
>        8 | #define NULL ((void *)0)
>          |              ^
>    kernel/rcu/rcu.h:559:41: note: in expansion of macro 'NULL'
>      559 | #define show_rcu_tasks_trace_gp_kthread NULL
>          |                                         ^~~~
>    kernel/rcu/tasks.h:1223:2: note: in expansion of macro 'show_rcu_tasks_trace_gp_kthread'
>     1223 |  show_rcu_tasks_trace_gp_kthread();
>          |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> vim +8 include/linux/stddef.h
> 
> ^1da177e4c3f415 Linus Torvalds   2005-04-16  6  
> ^1da177e4c3f415 Linus Torvalds   2005-04-16  7  #undef NULL
> ^1da177e4c3f415 Linus Torvalds   2005-04-16 @8  #define NULL ((void *)0)
> 6e2182874324727 Richard Knutsson 2006-09-30  9  
> 
> :::::: The code at line 8 was first introduced by commit
> :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
> 
> :::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
> :::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org



      reply	other threads:[~2020-12-29 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29  3:28 [rcu:dev.2020.12.15b 130/134] include/linux/stddef.h:8:14: error: called object is not a function or function pointer kernel test robot
2020-12-29 16:30 ` Paul E. McKenney [this message]

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=20201229163001.GL2657@paulmck-ThinkPad-P72 \
    --to=paulmck@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).