scsi: isci: Use the proper SCSI midlayer interfaces for PI
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 6 Aug 2021 04:00:20 +0000 (00:00 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 12 Aug 2021 02:25:43 +0000 (22:25 -0400)
commit4cc0096e2d54bc31ead127be59e3a2d02a187ac9
treed9bb286c336df6ffe7b8abe99b10b036dff873de
parent6a20e21ae1e25f73385cc248f53440e78dd3cb94
scsi: isci: Use the proper SCSI midlayer interfaces for PI

Use scsi_prot_ref_tag() instead of scsi_get_lba() to get the reference tag
for a given I/O.

Link: https://lore.kernel.org/r/20210806040023.5355-3-martin.petersen@oracle.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/isci/request.c