Re: [PATCH 3/3] Ensure that scsi_target_unblock() examines all devices

2017-03-18 Thread kbuild test robot
Hi Bart, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.11-rc2 next-20170310] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH 3/3] Ensure that scsi_target_unblock() examines all devices

2017-03-16 Thread Bart Van Assche
Since scsi_target_unblock() uses starget_for_each_device(), since starget_for_each_device() uses scsi_device_get(), since scsi_device_get() fails after unloading of the LLD kernel module has been started scsi_target_unblock() may skip devices that were affected by scsi_target_block(). Ensure that