projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09b15e3
)
scsi: lpfc: Fix missing prototype for lpfc_nvmet_prep_abort_wqe()
author
James Smart
<james.smart@broadcom.com>
Thu, 19 Nov 2020 20:33:16 +0000
(12:33 -0800)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Fri, 20 Nov 2020 03:21:50 +0000
(22:21 -0500)
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>
drivers/scsi/lpfc/lpfc_nvmet.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_nvmet.c
b/drivers/scsi/lpfc/lpfc_nvmet.c
index
c8b9434
..
a71df87
100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_nvmet.c
+++ b/
drivers/scsi/lpfc/lpfc_nvmet.c
@@
-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;