diff options
author | James Smart <james.smart@emulex.com> | 2011-03-11 22:05:52 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-03-23 17:36:07 +0100 |
commit | 7f86059ac016d8662e5fbfab4875529510977b47 (patch) | |
tree | d0baa921c2c2b642663d25a615905f7a302f567f /drivers/scsi/lpfc/lpfc_attr.c | |
parent | [SCSI] lpfc 8.3.22: Add new mailbox command and new BSG fix (diff) | |
download | linux-7f86059ac016d8662e5fbfab4875529510977b47.tar.xz linux-7f86059ac016d8662e5fbfab4875529510977b47.zip |
[SCSI] lpfc 8.3.22: T10-DIF corrections
T10-DIF corrections
- Add selective reset jump table entry
- Split T10-DIF BDEs that cross 4K boundary
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_attr.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index e7c020df12fa..427c046e8209 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c @@ -685,7 +685,7 @@ lpfc_do_offline(struct lpfc_hba *phba, uint32_t type) * -EIO reset not configured or error posting the event * zero for success **/ -static int +int lpfc_selective_reset(struct lpfc_hba *phba) { struct completion online_compl; @@ -746,7 +746,7 @@ lpfc_issue_reset(struct device *dev, struct device_attribute *attr, int status = -EINVAL; if (strncmp(buf, "selective", sizeof("selective") - 1) == 0) - status = lpfc_selective_reset(phba); + status = phba->lpfc_selective_reset(phba); if (status == 0) return strlen(buf); |