diff options
author | James Smart <james.smart@broadcom.com> | 2020-11-19 21:33:28 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-11-20 04:19:41 +0100 |
commit | 809032ddf9c6c779a9eb0f0c55c21a1e8913557f (patch) | |
tree | 49b5b3b289a6dce56328c376ec16e39f39223831 /drivers/scsi/lpfc/lpfc_ct.c | |
parent | scsi: lpfc: Fix memory leak on lcb_context (diff) | |
download | linux-809032ddf9c6c779a9eb0f0c55c21a1e8913557f.tar.xz linux-809032ddf9c6c779a9eb0f0c55c21a1e8913557f.zip |
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 <lkp@intel.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_ct.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_ct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c index ef4b8620c0e8..dd0b432f7ac5 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) { |