* [linux-rt-devel:linux-5.14.y-rt-rebase 242/262] kernel/locking/spinlock_rt.c:249:13: warning: no previous prototype for function 'rt_rwlock_is_contended'
@ 2021-09-04 23:36 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-04 23:36 UTC (permalink / raw)
To: Sebastian Andrzej Siewior; +Cc: llvm, kbuild-all, linux-kernel, Thomas Gleixner
[-- Attachment #1: Type: text/plain, Size: 2654 bytes --]
Hi Sebastian,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.14.y-rt-rebase
head: 654401743eaa08fb02fd57e7ca86dfeb16a8264f
commit: 4e1854e1da111e0c0c6bf1969677f61abdbb4363 [242/262] x86: Allow to enable RT
config: x86_64-buildonly-randconfig-r001-20210905 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6fe2beba7d2a41964af658c8c59dd172683ef739)
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/rt/linux-rt-devel.git/commit/?id=4e1854e1da111e0c0c6bf1969677f61abdbb4363
git remote add linux-rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git fetch --no-tags linux-rt-devel linux-5.14.y-rt-rebase
git checkout 4e1854e1da111e0c0c6bf1969677f61abdbb4363
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> kernel/locking/spinlock_rt.c:249:13: warning: no previous prototype for function 'rt_rwlock_is_contended' [-Wmissing-prototypes]
int __sched rt_rwlock_is_contended(rwlock_t *rwlock)
^
kernel/locking/spinlock_rt.c:249:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __sched rt_rwlock_is_contended(rwlock_t *rwlock)
^
static
1 warning generated.
vim +/rt_rwlock_is_contended +249 kernel/locking/spinlock_rt.c
ca72c3eba593af Thomas Gleixner 2021-08-15 248
ca72c3eba593af Thomas Gleixner 2021-08-15 @249 int __sched rt_rwlock_is_contended(rwlock_t *rwlock)
ca72c3eba593af Thomas Gleixner 2021-08-15 250 {
ca72c3eba593af Thomas Gleixner 2021-08-15 251 return rw_base_is_contended(&rwlock->rwbase);
ca72c3eba593af Thomas Gleixner 2021-08-15 252 }
ca72c3eba593af Thomas Gleixner 2021-08-15 253 EXPORT_SYMBOL(rt_rwlock_is_contended);
ca72c3eba593af Thomas Gleixner 2021-08-15 254
:::::: The code at line 249 was first introduced by commit
:::::: ca72c3eba593af8b6cce096b656c6cebd412d9b6 locking/rwlock: Provide RT variant
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
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: 46547 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-04 23:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-04 23:36 [linux-rt-devel:linux-5.14.y-rt-rebase 242/262] kernel/locking/spinlock_rt.c:249:13: warning: no previous prototype for function 'rt_rwlock_is_contended' kernel test robot
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).