summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_isr.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-09-11 20:35:40 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-15 16:41:56 +0300
commit27c0e83b273a637d5cb56f02550c31d803bafc10 (patch)
tree77d5c58b387b8a953252703f36ae5632106d3be6 /drivers/scsi/qla2xxx/qla_isr.c
parent6ebf105cc047f3877ac530cd19d13b3e788ab02e (diff)
downloadlinux-27c0e83b273a637d5cb56f02550c31d803bafc10.tar.xz
scsi: qla2xxx: Use struct t10_pi_tuple
Instead of defining a local version of it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 987f1c729e9c..068c4e47fac9 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -1828,7 +1828,7 @@ qla2x00_handle_dif_error(srb_t *sp, struct sts_entry_24xx *sts24)
if (scsi_prot_sg_count(cmd)) {
uint32_t i, j = 0, k = 0, num_ent;
struct scatterlist *sg;
- struct sd_dif_tuple *spt;
+ struct t10_pi_tuple *spt;
/* Patch the corresponding protection tags */
scsi_for_each_prot_sg(cmd, sg,