Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252431
b: refs/heads/master
c: 756aca7
h: refs/heads/master
i:
  252429: 28ca544
  252427: ec5df81
  252423: 44cc1ee
  252415: e5875fe
v: v3
  • Loading branch information
Martin K. Petersen authored and James Bottomley committed May 24, 2011
1 parent 9e3e37c commit 9b63bc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2a8cfad06ebbb68e8c113a39bdd653297fb9369c
refs/heads/master: 756aca7edd37611b73e1e86ea64a67b62d251509
8 changes: 1 addition & 7 deletions trunk/drivers/scsi/mpt2sas/mpt2sas_scsih.c
Original file line number Diff line number Diff line change
Expand Up @@ -3502,6 +3502,7 @@ _scsih_setup_eedp(struct scsi_cmnd *scmd, Mpi2SCSIIORequest_t *mpi_request)

switch (prot_type) {
case SCSI_PROT_DIF_TYPE1:
case SCSI_PROT_DIF_TYPE2:

/*
* enable ref/guard checking
Expand All @@ -3514,13 +3515,6 @@ _scsih_setup_eedp(struct scsi_cmnd *scmd, Mpi2SCSIIORequest_t *mpi_request)
cpu_to_be32(scsi_get_lba(scmd));
break;

case SCSI_PROT_DIF_TYPE2:

eedp_flags |= MPI2_SCSIIO_EEDPFLAGS_INC_PRI_REFTAG |
MPI2_SCSIIO_EEDPFLAGS_CHECK_REFTAG |
MPI2_SCSIIO_EEDPFLAGS_CHECK_GUARD;
break;

case SCSI_PROT_DIF_TYPE3:

/*
Expand Down

0 comments on commit 9b63bc0

Please sign in to comment.