From: kbuild test robot <lkp@intel.com>
To: "Paul, E., McKenney," <paulmck@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [rcu:dev.2020.05.31a 79/79] kernel/rcu/refperf.c:139:4: error: called object 'udelay' is not a function or function pointer
Date: Tue, 2 Jun 2020 01:57:59 +0800 [thread overview]
Message-ID: <202006020155.r1HNKUFd%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 6455 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.05.31a
head: d4a44f7b283b30d89a9d3b68266ecde58fc92aab
commit: d4a44f7b283b30d89a9d3b68266ecde58fc92aab [79/79] refperf: Change readdelay module parameter to nanoseconds
config: alpha-allyesconfig (attached as .config)
compiler: alpha-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
git checkout d4a44f7b283b30d89a9d3b68266ecde58fc92aab
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
kernel/rcu/refperf.c: In function 'ref_rcu_delay_section':
>> kernel/rcu/refperf.c:139:4: error: called object 'udelay' is not a function or function pointer
139 | udelay(udelay);
| ^~~~~~
kernel/rcu/refperf.c:132:51: note: declared here
132 | ref_rcu_delay_section(const int nloops, const int udelay, const int ndelay)
| ~~~~~~~~~~^~~~~~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
>> arch/alpha/include/asm/delay.h:9:16: error: called object 'ndelay' is not a function or function pointer
9 | #define ndelay ndelay
| ^~~~~~
kernel/rcu/refperf.c:141:4: note: in expansion of macro 'ndelay'
141 | ndelay(ndelay);
| ^~~~~~
arch/alpha/include/asm/delay.h:9:16: note: declared here
9 | #define ndelay ndelay
kernel/rcu/refperf.c:132:69: note: in expansion of macro 'ndelay'
132 | ref_rcu_delay_section(const int nloops, const int udelay, const int ndelay)
| ^~~~~~
kernel/rcu/refperf.c: In function 'srcu_ref_perf_delay_section':
kernel/rcu/refperf.c:182:4: error: called object 'udelay' is not a function or function pointer
182 | udelay(udelay);
| ^~~~~~
kernel/rcu/refperf.c:174:16: note: declared here
174 | const int udelay, const int ndelay)
| ~~~~~~~~~~^~~~~~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
>> arch/alpha/include/asm/delay.h:9:16: error: called object 'ndelay' is not a function or function pointer
9 | #define ndelay ndelay
| ^~~~~~
kernel/rcu/refperf.c:184:4: note: in expansion of macro 'ndelay'
184 | ndelay(ndelay);
| ^~~~~~
arch/alpha/include/asm/delay.h:9:16: note: declared here
9 | #define ndelay ndelay
kernel/rcu/refperf.c:174:34: note: in expansion of macro 'ndelay'
174 | const int udelay, const int ndelay)
| ^~~~~~
kernel/rcu/refperf.c: In function 'ref_refcnt_delay_section':
kernel/rcu/refperf.c:217:4: error: called object 'udelay' is not a function or function pointer
217 | udelay(udelay);
| ^~~~~~
kernel/rcu/refperf.c:210:54: note: declared here
210 | ref_refcnt_delay_section(const int nloops, const int udelay, const int ndelay)
| ~~~~~~~~~~^~~~~~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
>> arch/alpha/include/asm/delay.h:9:16: error: called object 'ndelay' is not a function or function pointer
9 | #define ndelay ndelay
| ^~~~~~
kernel/rcu/refperf.c:219:4: note: in expansion of macro 'ndelay'
219 | ndelay(ndelay);
| ^~~~~~
arch/alpha/include/asm/delay.h:9:16: note: declared here
9 | #define ndelay ndelay
kernel/rcu/refperf.c:210:72: note: in expansion of macro 'ndelay'
210 | ref_refcnt_delay_section(const int nloops, const int udelay, const int ndelay)
| ^~~~~~
kernel/rcu/refperf.c: In function 'ref_rwlock_delay_section':
kernel/rcu/refperf.c:257:4: error: called object 'udelay' is not a function or function pointer
257 | udelay(udelay);
| ^~~~~~
kernel/rcu/refperf.c:250:54: note: declared here
250 | ref_rwlock_delay_section(const int nloops, const int udelay, const int ndelay)
| ~~~~~~~~~~^~~~~~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
>> arch/alpha/include/asm/delay.h:9:16: error: called object 'ndelay' is not a function or function pointer
9 | #define ndelay ndelay
| ^~~~~~
kernel/rcu/refperf.c:259:4: note: in expansion of macro 'ndelay'
259 | ndelay(ndelay);
| ^~~~~~
arch/alpha/include/asm/delay.h:9:16: note: declared here
9 | #define ndelay ndelay
kernel/rcu/refperf.c:250:72: note: in expansion of macro 'ndelay'
250 | ref_rwlock_delay_section(const int nloops, const int udelay, const int ndelay)
| ^~~~~~
kernel/rcu/refperf.c: In function 'ref_rwsem_delay_section':
kernel/rcu/refperf.c:297:4: error: called object 'udelay' is not a function or function pointer
297 | udelay(udelay);
| ^~~~~~
kernel/rcu/refperf.c:290:53: note: declared here
290 | ref_rwsem_delay_section(const int nloops, const int udelay, const int ndelay)
| ~~~~~~~~~~^~~~~~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
>> arch/alpha/include/asm/delay.h:9:16: error: called object 'ndelay' is not a function or function pointer
9 | #define ndelay ndelay
| ^~~~~~
kernel/rcu/refperf.c:299:4: note: in expansion of macro 'ndelay'
299 | ndelay(ndelay);
| ^~~~~~
arch/alpha/include/asm/delay.h:9:16: note: declared here
9 | #define ndelay ndelay
kernel/rcu/refperf.c:290:71: note: in expansion of macro 'ndelay'
290 | ref_rwsem_delay_section(const int nloops, const int udelay, const int ndelay)
| ^~~~~~
vim +/udelay +139 kernel/rcu/refperf.c
130
131 static void
132 ref_rcu_delay_section(const int nloops, const int udelay, const int ndelay)
133 {
134 int i;
135
136 for (i = nloops; i >= 0; i--) {
137 rcu_read_lock();
138 if (udelay)
> 139 udelay(udelay);
140 if (ndelay)
141 ndelay(ndelay);
142 rcu_read_unlock();
143 }
144 }
145
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 61405 bytes --]
reply other threads:[~2020-06-01 18:37 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=202006020155.r1HNKUFd%lkp@intel.com \
--to=lkp@intel.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®