scsi: mpt3sas: Introduce function to clone mpi reply.
authorSuganath Prabu Subramani <suganath-prabu.subramani@broadcom.com>
Wed, 7 Feb 2018 10:51:50 +0000 (02:51 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 28 Feb 2018 03:26:15 +0000 (22:26 -0500)
commitb4472d7180894c96b6133ef5ff3df50836591eaa
tree29e73ca0d1f8147ee3bff2720ebc290229442123
parente5747439366c1079257083f231f5dd9a84bf0fd7
scsi: mpt3sas: Introduce function to clone mpi reply.

If the posted request has an error of any type, the IOC writes
a Reply message into a host-based system reply message frame.
This functions clone it in the BAR0 mapped region.

Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c