lpfc: fix missing prototype for lpfc_nvmet_prep_abort_wqe
Subsystems (2)
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")
Reported-by kernel test robot <[email protected]>
Signed-off-by James Smart <[email protected]>
--- drivers/scsi/lpfc/lpfc_nvmet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/lpfc/lpfc_nvmet.c +1 -1
@@ -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
Martin K. Petersen
AppliedJames,
Quoted 1 line
lpfc_nvmet_prep_abort_wqeneeds to be declared static
Applied to 5.11/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 1 line · James Smart
lpfc_nvmet_prep_abort_wqeneeds to be declared static
Applied to 5.11/scsi-queue, thanks!
[1/1] scsi: lpfc: Fix missing prototype for lpfc_nvmet_prep_abort_wqe()
https://git.kernel.org/mkp/scsi/c/185d17e11e7f
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering