Re: [PATCH 4/6] mpi3mr: WriteSame implementation

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

 



Ranjan,

> The driver is enhanced to divert the writesame commands that
> are issued with unmap=1 and NDOB=1 and with the transfer length
> greater than the max writesame length specified by the firmware
> for the particular drive to the firmware.

drivers/scsi/mpi3mr/mpi3mr_os.c: In function ‘mpi3mr_target_alloc’:
drivers/scsi/mpi3mr/mpi3mr_os.c:4527:17: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 4527 |                 if ((tgt_dev->dev_type == MPI3_DEVICE_DEVFORM_PCIE) &&
      |                 ^~
drivers/scsi/mpi3mr/mpi3mr_os.c:4535:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 4535 |                         scsi_tgt_priv_data->io_throttle_enabled = tgt_dev->io_throttle_enabled;
      |                         ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

-- 
Martin K. Petersen	Oracle Linux Engineering




[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