* [axboe-block:for-6.6/block 43/44] include/linux/lockdep.h:291:61: error: invalid type argument of '->' (have 'struct mutex')
@ 2023-08-10 20:49 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-10 20:49 UTC (permalink / raw)
To: Li Lingfeng; +Cc: oe-kbuild-all, Jens Axboe, Michal Koutný
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-6.6/block
head: d21fed50c523d87af6456697ad09378060c4f09a
commit: 4eb44d10766ac0fae5973998fd2a0103df1d3fe1 [43/44] block: remove init_mutex and open-code blk_iolatency_try_init
config: arm64-randconfig-r035-20230810 (https://download.01.org/0day-ci/archive/20230811/202308110439.vJ8KE4K3-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230811/202308110439.vJ8KE4K3-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308110439.vJ8KE4K3-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/arm64/include/asm/bug.h:26,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from arch/arm64/include/asm/preempt.h:6,
from include/linux/preempt.h:79,
from include/linux/spinlock.h:56,
from include/linux/wait.h:9,
from include/linux/wait_bit.h:8,
from include/linux/fs.h:6,
from include/linux/highmem.h:5,
from include/linux/bvec.h:10,
from include/linux/blk_types.h:10,
from block/blk-iolatency.c:68:
block/blk-iolatency.c: In function 'iolatency_set_limit':
>> include/linux/lockdep.h:291:61: error: invalid type argument of '->' (have 'struct mutex')
291 | #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map)
| ^~
include/asm-generic/bug.h:123:32: note: in definition of macro 'WARN_ON'
123 | int __ret_warn_on = !!(condition); \
| ^~~~~~~~~
include/linux/lockdep.h:324:9: note: in expansion of macro 'lockdep_assert'
324 | lockdep_assert(lockdep_is_held(l) != LOCK_STATE_NOT_HELD)
| ^~~~~~~~~~~~~~
include/linux/lockdep.h:324:24: note: in expansion of macro 'lockdep_is_held'
324 | lockdep_assert(lockdep_is_held(l) != LOCK_STATE_NOT_HELD)
| ^~~~~~~~~~~~~~~
block/blk-iolatency.c:849:9: note: in expansion of macro 'lockdep_assert_held'
849 | lockdep_assert_held(ctx.bdev->bd_queue->rq_qos_mutex);
| ^~~~~~~~~~~~~~~~~~~
vim +291 include/linux/lockdep.h
f607c668577481 Peter Zijlstra 2009-07-20 290
f8319483f57f1c Peter Zijlstra 2016-11-30 @291 #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map)
f8319483f57f1c Peter Zijlstra 2016-11-30 292 #define lockdep_is_held_type(lock, r) lock_is_held_type(&(lock)->dep_map, (r))
f607c668577481 Peter Zijlstra 2009-07-20 293
:::::: The code at line 291 was first introduced by commit
:::::: f8319483f57f1ca22370f4150bb990aca7728a67 locking/lockdep: Provide a type check for lock_is_held
:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Dave Chinner <david@fromorbit.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-10 20:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-10 20:49 [axboe-block:for-6.6/block 43/44] include/linux/lockdep.h:291:61: error: invalid type argument of '->' (have 'struct mutex') 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).