tree:
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git rtmutex
head: 238baaf7afb02f83cf7f455b92b2c6ed961d43cd
commit: e94c1ba2ec1dc10b7f54dfa6163a5ca4fdd3655d [12/14] locking/rtmutex: Consolidate the
fast/slowpath invocation
config: s390-randconfig-r025-20210323 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
78a65cd945d006ff02f9d24d9cc20a302ed93b08)
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
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id...
git remote add tglx-devel
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
git fetch --no-tags tglx-devel rtmutex
git checkout e94c1ba2ec1dc10b7f54dfa6163a5ca4fdd3655d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> kernel/locking/rtmutex.c:1410:22: error: too few arguments to
function call, expected 2, have 1
__rt_mutex_lock(lock);
~~~~~~~~~~~~~~~ ^
kernel/locking/rtmutex.c:1384:28: note: '__rt_mutex_lock' declared here
static __always_inline int __rt_mutex_lock(struct rt_mutex *lock, long state)
^
1 error generated.
vim +1410 kernel/locking/rtmutex.c
1399
1400 #ifdef CONFIG_DEBUG_LOCK_ALLOC
1401 /**
1402 * rt_mutex_lock_nested - lock a rt_mutex
1403 *
1404 * @lock: the rt_mutex to be locked
1405 * @subclass: the lockdep subclass
1406 */
1407 void __sched rt_mutex_lock_nested(struct rt_mutex *lock, unsigned int subclass)
1408 {
1409 mutex_acquire(&lock->dep_map, subclass, 0, _RET_IP_);
1410 __rt_mutex_lock(lock);
1411 }
1412 EXPORT_SYMBOL_GPL(rt_mutex_lock_nested);
1413
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org