[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202109050346.dGuKq42k-lkp@intel.com>
Date: Sun, 5 Sep 2021 03:00:56 +0800
From: kernel test robot <lkp@...el.com>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>
Subject: [linux-rt-devel:linux-5.14.y-rt-rebase 242/262]
kernel/locking/spinlock_rt.c:249:13: warning: no previous prototype for
'rt_rwlock_is_contended'
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-randconfig-a012-20210905 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# 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
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> kernel/locking/spinlock_rt.c:249:13: warning: no previous prototype for 'rt_rwlock_is_contended' [-Wmissing-prototypes]
249 | int __sched rt_rwlock_is_contended(rwlock_t *rwlock)
| ^~~~~~~~~~~~~~~~~~~~~~
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@...utronix.de>
:::::: CC: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (29144 bytes)
Powered by blists - more mailing lists