Skip to contentSkip to conversation

drbd: remove BROKEN for DRBD

PATCH kernel test robot 1 participant 1 message Nov 27

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

BCC: [email protected]
CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: "Christoph Böhmwalder" <[email protected]>
TO: Jens Axboe <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: Philipp Reisner <[email protected]>
CC: Lars Ellenberg <[email protected]>
CC: "Christoph Böhmwalder" <[email protected]>

Hi Christoph,

kernel test robot noticed the following build warnings:

[auto build test WARNING on aa7014f8d7565cfea117eac36a5de0a05eba65a4]

url:    https://github.com/intel-lab-lkp/linux/commits/Christoph-B-hmwalder/drbd-mark-as-BROKEN-during-DRBD-9-rework/20261125-163451
base:   aa7014f8d7565cfea117eac36a5de0a05eba65a4
patch link:    https://lore.kernel.org/r/20261125153511.3060599-22-christoph.boehmwalder%40linbit.com
patch subject: [PATCH v4 21/21] drbd: remove BROKEN for DRBD

:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: alpha-randconfig-r2101-20261127 (https://download.01.org/0day-ci/archive/20261127/[email protected]/config)
compiler: alpha-linux-gcc (GCC) 12.5.0

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 <[email protected]>
| Reported-by: Julia Lawall <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

cocci warnings: (new ones prefixed by >>)

>> drivers/block/drbd/drbd_main.c:6925:2-11: second lock on line 6925
--
>> drivers/block/drbd/drbd_main.c:4621:1-7: preceding lock on line 4519
--
>> drivers/block/drbd/drbd_main.c:4572:22-33: ERROR: invalid reference to the index variable of the iterator on line 4538

vim +6925 drivers/block/drbd/drbd_main.c

b411b3637fa71f Philipp Reisner 2009-09-25 6915
00ab136fef9ec4 Christoph Böhmwalder 2026-11-25 6916

28bc3b8c71cda0 Andreas Gruenbacher  2014-08-14  6917  void lock_all_resources(void)
28bc3b8c71cda0 Andreas Gruenbacher  2014-08-14  6918  {
28bc3b8c71cda0 Andreas Gruenbacher  2014-08-14  6919  	struct drbd_resource *resource;
28bc3b8c71cda0 Andreas Gruenbacher  2014-08-14  6920  	int __maybe_unused i = 0;
28bc3b8c71cda0 Andreas Gruenbacher  2014-08-14  6921  
28bc3b8c71cda0 Andreas Gruenbacher  2014-08-14  6922  	mutex_lock(&resources_mutex);
28bc3b8c71cda0 Andreas Gruenbacher  2014-08-14  6923  	local_irq_disable();
28bc3b8c71cda0 Andreas Gruenbacher  2014-08-14  6924  	for_each_resource(resource, &drbd_resources)
00ab136fef9ec4 Christoph Böhmwalder 2026-11-25 @6925  		read_lock(&resource->state_rwlock);
28bc3b8c71cda0 Andreas Gruenbacher  2014-08-14  6926  }
28bc3b8c71cda0 Andreas Gruenbacher  2014-08-14  6927  
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki