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: accepted/tizen/unified/20230118.172025~8143^2~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=809032ddf9c6c779a9eb0f0c55c21a1e8913557f;p=platform%2Fkernel%2Flinux-rpi.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 ef4b862..dd0b432 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) {