Re: [PATCHv3] scsi: use 'scsi_device_from_queue()' for scsi_dh

2017-02-21 Thread Mike Snitzer
On Mon, Feb 20, 2017 at 10:22 PM, Martin K. Petersen wrote: >> "Hannes" == Hannes Reinecke writes: > > Hannes> The device handler needs to check if a given queue belongs to a > Hannes> scsi device; only then does it make sense to attach a device >

Re: [PATCHv3] scsi: use 'scsi_device_from_queue()' for scsi_dh

2017-02-20 Thread Martin K. Petersen
> "Hannes" == Hannes Reinecke writes: Hannes> The device handler needs to check if a given queue belongs to a Hannes> scsi device; only then does it make sense to attach a device Hannes> handler. Fixed kbuild warning and applied to 4.11/scsi-queue. -- Martin K. Petersen

Re: [PATCHv3] scsi: use 'scsi_device_from_queue()' for scsi_dh

2017-02-17 Thread kbuild test robot
Hi Hannes, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.10-rc8 next-20170216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCHv3] scsi: use 'scsi_device_from_queue()' for scsi_dh

2017-02-17 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

[PATCHv3] scsi: use 'scsi_device_from_queue()' for scsi_dh

2017-02-17 Thread Hannes Reinecke
The device handler needs to check if a given queue belongs to a scsi device; only then does it make sense to attach a device handler. Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi_dh.c | 22 -- drivers/scsi/scsi_lib.c| 24