mpt3sas: Fix initial Reference tag field for 4K PI drives.
authorChaitra P B <chaitra.basappa@broadcom.com>
Fri, 6 May 2016 08:59:28 +0000 (14:29 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 May 2016 20:11:57 +0000 (16:11 -0400)
commit648512ccd7d42ccf761f515b7c0cb456a48c477a
treeabf6726d35e980f04df97bf77b353ea67b12bd2d
parenta470a51cd6481373cdf2b5934b1b9f7853688de9
mpt3sas: Fix initial Reference tag field for 4K PI drives.

Modified driver code to use scsi_prot_ref_tag() API instead of
scsi_get_lba(), while initializing reference tag field in the CDB.

Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_scsih.c