Blob Blame History Raw
From: James Smart <james.smart@broadcom.com>
Date: Thu, 19 Nov 2020 12:33:16 -0800
Subject: scsi: lpfc: Fix missing prototype for lpfc_nvmet_prep_abort_wqe()
Patch-mainline: v5.11-rc1
Git-commit: 185d17e11e7f98e0d1f499d702d9792a4ed5ae47
References: bsc#1164780

lpfc_nvmet_prep_abort_wqe() needs to be declared static.

Link: https://lore.kernel.org/r/20201119203316.121725-1-james.smart@broadcom.com
Fixes: db7531d2b377 ("scsi: lpfc: Convert abort handling to SLI-3 and SLI-4 handlers")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Daniel Wagner <dwagner@suse.de>
---
 drivers/scsi/lpfc/lpfc_nvmet.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/scsi/lpfc/lpfc_nvmet.c
+++ b/drivers/scsi/lpfc/lpfc_nvmet.c
@@ -3196,7 +3196,7 @@ lpfc_nvmet_unsol_issue_abort(struct lpfc
  *
  * 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;