Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1269012

Re: [PATCH] mpt3sas: Fix use sas_is_tlr_enabled API before enabling MPI2_SCSIIO_CONTROL_TLR_ON flag

From Tomas Henzl <thenzl@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mpt3sas: Fix use sas_is_tlr_enabled API before enabling MPI2_SCSIIO_CONTROL_TLR_ON flag
Date 2015-11-13 16:10 +0100
Message-ID <quo9c-81t-19@gated-at.bofh.it> (permalink)
References <qu4Dw-3VM-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12.11.2015 19:10, Sreekanth Reddy wrote:
> Before enabling MPI2_SCSIIO_CONTROL_TLR_ON flag in MPI SCSI IO
> request message, check whether TLR is enabled on the drive using
> 'sas_is_tlr_enabled' API.
>
> Actually in the driver code, driver is using below API's
>
> 1. sas_enable_tlr() - to enable the TLR
> 2. sas_disable_tlr() - to disable the TLR
> 3. sas_is_tlr_enabled() - to check whether TLR is enabled or not.
>
> but in scsih_qcmd() we have missed to use sas_is_tlr_enabled() API,
> instead we checking for TLR bit from flag field of driver's
> 'struct MPT3SAS_DEVIC' structure. which is corrected with this patch.
>
> Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>

Reviewed-by: Tomas Henzl <thenzl@redhat.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mpt3sas: Fix use sas_is_tlr_enabled API before enabling MPI2_SCSIIO_CONTROL_TLR_ON flag Sreekanth Reddy <sreekanth.reddy@avagotech.com> - 2015-11-12 19:20 +0100
  Re: [PATCH] mpt3sas: Fix use sas_is_tlr_enabled API before enabling  MPI2_SCSIIO_CONTROL_TLR_ON flag Hannes Reinecke <hare@suse.de> - 2015-11-13 08:30 +0100
  Re: [PATCH] mpt3sas: Fix use sas_is_tlr_enabled API before enabling  MPI2_SCSIIO_CONTROL_TLR_ON flag Tomas Henzl <thenzl@redhat.com> - 2015-11-13 16:10 +0100
  Re: [PATCH] mpt3sas: Fix use sas_is_tlr_enabled API before enabling MPI2_SCSIIO_CONTROL_TLR_ON flag "Martin K. Petersen" <martin.petersen@oracle.com> - 2015-11-13 21:50 +0100

csiph-web