All of lore.kernel.org
 help / color / mirror / Atom feed
* [tglx-devel:rtmutex 12/14] kernel/locking/rtmutex.c:1410:2: error: too few arguments to function '__rt_mutex_lock'
@ 2021-03-24  1:30 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-24  1:30 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2164 bytes --]

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: x86_64-randconfig-s021-20210323 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-277-gc089cd2d-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=e94c1ba2ec1dc10b7f54dfa6163a5ca4fdd3655d
        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
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   kernel/locking/rtmutex.c: In function 'rt_mutex_lock_nested':
>> kernel/locking/rtmutex.c:1410:2: error: too few arguments to function '__rt_mutex_lock'
    1410 |  __rt_mutex_lock(lock);
         |  ^~~~~~~~~~~~~~~
   kernel/locking/rtmutex.c:1384:28: note: declared here
    1384 | static __always_inline int __rt_mutex_lock(struct rt_mutex *lock, long state)
         |                            ^~~~~~~~~~~~~~~


vim +/__rt_mutex_lock +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(a)lists.01.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-24  1:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24  1:30 [tglx-devel:rtmutex 12/14] kernel/locking/rtmutex.c:1410:2: error: too few arguments to function '__rt_mutex_lock' kernel 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.