lkml.org 
[lkml]   [2020]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2020-06-01 20:37    [W:0.033 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site