scsi: lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi()
authorJames Smart <james.smart@broadcom.com>
Thu, 19 Nov 2020 20:33:28 +0000 (12:33 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 20 Nov 2020 03:19:41 +0000 (22:19 -0500)
Function needs to be declared as static.

Link: https://lore.kernel.org/r/20201119203328.121772-1-james.smart@broadcom.com
Fixes: 8aaa7bcf07a2 ("scsi: lpfc: Add FDMI Vendor MIB support")
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_ct.c

index ef4b862..dd0b432 100644 (file)
@@ -3295,7 +3295,7 @@ lpfc_fdmi_smart_attr_security(struct lpfc_vport *vport,
        return size;
 }
 
-int
+static int
 lpfc_fdmi_vendor_attr_mi(struct lpfc_vport *vport,
                          struct lpfc_fdmi_attr_def *ad)
 {