[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190417150554.34844-1-yuehaibing@huawei.com>
Date: Wed, 17 Apr 2019 23:05:54 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <james.smart@...adcom.com>, <dick.kennedy@...adcom.com>,
<jejb@...ux.ibm.com>, <martin.petersen@...cle.com>
CC: <linux-kernel@...r.kernel.org>, <linux-scsi@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] scsi: lpfc: Make lpfc_sli4_oas_verify static
From: YueHaibing <yuehaibing@...wei.com>
Fix sparse warning:
drivers/scsi/lpfc/lpfc_init.c:13091:1: warning:
symbol 'lpfc_sli4_oas_verify' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/scsi/lpfc/lpfc_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 8e0de48..eaaef68 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -13087,7 +13087,7 @@ lpfc_io_resume(struct pci_dev *pdev)
* is destroyed.
*
**/
-void
+static void
lpfc_sli4_oas_verify(struct lpfc_hba *phba)
{
--
2.7.4
Powered by blists - more mailing lists