All of lore.kernel.org
 help / color / mirror / Atom feed
* [rcu:dev.2020.05.31a 79/79] kernel/rcu/refperf.c:139:4: error: called object 'udelay' is not a function or function pointer
@ 2020-06-01 17:57 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-06-01 17:57 UTC (permalink / raw)
  To: Paul, E., McKenney,; +Cc: kbuild-all, linux-kernel

[-- 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 --]

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

* [rcu:dev.2020.05.31a 79/79] kernel/rcu/refperf.c:139:4: error: called object 'udelay' is not a function or function pointer
@ 2020-06-01 17:57 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-06-01 17:57 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 6597 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(a)lists.01.org

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

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

end of thread, other threads:[~2020-06-01 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 17:57 [rcu:dev.2020.05.31a 79/79] kernel/rcu/refperf.c:139:4: error: called object 'udelay' is not a function or function pointer kbuild test robot
2020-06-01 17:57 ` kbuild 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.