scsi: lpfc: Make lpfc_sli4_oas_verify static
Subsystems (2)
PATCH 1/1 scsi: lpfc: Make lpfc_sli4_oas_verify static
From: YueHaibing <[email protected]>
Fix sparse warning:
drivers/scsi/lpfc/lpfc_init.c:13091:1: warning:
symbol 'lpfc_sli4_oas_verify' was not declared. Should it be static?
--- drivers/scsi/lpfc/lpfc_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/lpfc/lpfc_init.c +1 -1
@@ -13087,7 +13087,7 @@ lpfc_io_resume(struct pci_dev *pdev)* is destroyed. * **/ -void +static void lpfc_sli4_oas_verify (struct lpfc_hba *phba) {
Signature · 1 line
2.7.4
Quoted 17 lines · Yue Haibing
From: YueHaibing <[email protected]>
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 <[email protected]>--- drivers/scsi/lpfc/lpfc_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/scsi/lpfc/lpfc_init.c +0
-0
drivers/scsi/lpfc/lpfc_init.c lpfc_io_resume(struct pci_dev *pdev) · line 13093
Quoted 8 lines
drivers/scsi/lpfc/lpfc_init.c +1
-1@@ -13087,7 +13087,7 @@ lpfc_io_resume(struct pci_dev *pdev)* is destroyed. * **/ -void +static void lpfc_sli4_oas_verify (struct lpfc_hba *phba) {
Looks good. Interesting as there's a prototype for the function earlier which defines it as static.
-- james
Martin K. Petersen
AppliedYue,
Quoted 4 lines
Fix sparse warning:
drivers/scsi/lpfc/lpfc_init.c:13091:1: warning:
symbol 'lpfc_sli4_oas_verify' was not declared. Should it be static?
Applied to 5.2/scsi-queue, thanks.
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering