From: James Smart Date: Thu, 19 Nov 2020 20:33:28 +0000 (-0800) Subject: scsi: lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi() X-Git-Tag: v5.11-rc1~108^2~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=809032ddf9c6c779a9eb0f0c55c21a1e8913557f;p=thirdparty%2Fkernel%2Flinux.git scsi: lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi() 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 Signed-off-by: James Smart Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c index ef4b8620c0e8a..dd0b432f7ac5a 100644 --- a/drivers/scsi/lpfc/lpfc_ct.c +++ b/drivers/scsi/lpfc/lpfc_ct.c @@ -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) {