[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109050710.uwCdRL7c-lkp@intel.com>
Date: Sun, 5 Sep 2021 07:36:25 +0800
From: kernel test robot <lkp@...el.com>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: llvm@...ts.linux.dev, 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
function 'rt_rwlock_is_contended'
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@...el.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@...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" (46547 bytes)
Powered by blists - more mailing lists