diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 362730b6dd85..7c4f389a2f67 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -1622,7 +1622,9 @@ lpfc_sli4_fcf_rec_mbox_parse(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, | |||
1622 | new_fcf_record = (struct fcf_record *)(virt_addr + | 1622 | new_fcf_record = (struct fcf_record *)(virt_addr + |
1623 | sizeof(struct lpfc_mbx_read_fcf_tbl)); | 1623 | sizeof(struct lpfc_mbx_read_fcf_tbl)); |
1624 | lpfc_sli_pcimem_bcopy(new_fcf_record, new_fcf_record, | 1624 | lpfc_sli_pcimem_bcopy(new_fcf_record, new_fcf_record, |
1625 | sizeof(struct fcf_record)); | 1625 | offsetof(struct fcf_record, vlan_bitmap)); |
1626 | new_fcf_record->word137 = le32_to_cpu(new_fcf_record->word137); | ||
1627 | new_fcf_record->word138 = le32_to_cpu(new_fcf_record->word138); | ||
1626 | 1628 | ||
1627 | return new_fcf_record; | 1629 | return new_fcf_record; |
1628 | } | 1630 | } |