Skip to content

Commit 44ba978

Browse files
jsmart-ghmartinkpetersen
authored andcommitted
scsi: lpfc: Correct BDE type for XMIT_SEQ64_WQE in lpfc_ct_reject_event()
A previous commit assumed all XMIT_SEQ64_WQEs are prepped with the correct BDE type in word 0-2. However, lpfc_ct_reject_event() routine was missed and is still filling out the incorrect BDE type. Fix lpfc_ct_reject_event() routine so that type BUFF_TYPE_BDE_64 is set instead of BUFF_TYPE_BLP_64. Link: https://lore.kernel.org/r/[email protected] Fixes: 596fc8a ("scsi: lpfc: Fix dmabuf ptr assignment in lpfc_ct_reject_event()") Co-developed-by: Justin Tee <[email protected]> Signed-off-by: Justin Tee <[email protected]> Signed-off-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent cf71d59 commit 44ba978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/lpfc/lpfc_ct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ lpfc_ct_reject_event(struct lpfc_nodelist *ndlp,
197197
memset(bpl, 0, sizeof(struct ulp_bde64));
198198
bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys));
199199
bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys));
200-
bpl->tus.f.bdeFlags = BUFF_TYPE_BLP_64;
200+
bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64;
201201
bpl->tus.f.bdeSize = (LPFC_CT_PREAMBLE - 4);
202202
bpl->tus.w = le32_to_cpu(bpl->tus.w);
203203

0 commit comments

Comments
 (0)