Re: [PATCH 32/35] zfcp: use scsi device as argument for zfcp_task_mgmt_function()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2017-06-23 at 15:02 +0200, Hannes Reinecke wrote:
> zfcp_task_mgmt_function() is only used for lun and device reset,
> so it should be using the scsi device as an argument, not the
> scsi command.

There are multiple changes in this patch which makes this patch harder to
review than necessary. Please split this patch, e.g. as follows:
* one patch that removes the "tm_flags" argument from zfcp_fc_scsi_to_fcp()
  and inlines the tm_flags != 0 case.
* another patch that adds the struct scsi_device * argument to
  zfcp_fsf_fcp_handler_common().
* a third patch that changes the first argument of zfcp_task_mgmt_function()
  from struct scsi_cmnd * into struct scsi_device *.

Thanks,

Bart.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux