Skip to contentSkip to conversation

lpfc: fix missing prototype for lpfc_nvmet_prep_abort_wqe

PATCH Applied James Smart 2 participants 3 messages Nov 19, 2020 – Nov 24, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lpfc: fix missing prototype for lpfc_nvmet_prep_abort_wqe

lpfc_nvmet_prep_abort_wqe needs to be declared static

Fixes db7531d2b377 ("scsi: lpfc: Convert abort handling to SLI-3 and SLI-4 handlers")
---
 drivers/scsi/lpfc/lpfc_nvmet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/lpfc/lpfc_nvmet.c +1 -1
index c8b9434ae5cf..a71df8788fff 100644
@@ -3336,7 +3336,7 @@ lpfc_nvmet_unsol_issue_abort(struct lpfc_hba *phba,
  *
  * This function is called with hbalock held.
  **/
-void
+static void
 lpfc_nvmet_prep_abort_wqe(struct lpfc_iocbq *pwqeq, u16 xritag, u8 opt)
 {
 	union lpfc_wqe128 *wqe = &pwqeq->wqe;
Signature · 1 line
2.26.2
#1 lore raw

James,

Quoted 1 line

lpfc_nvmet_prep_abort_wqe needs to be declared static

Applied to 5.11/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering