projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14c1dd9
)
scsi: lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi()
author
James Smart
<james.smart@broadcom.com>
Thu, 19 Nov 2020 20:33:28 +0000
(12:33 -0800)
committer
Martin 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
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_ct.c
b/drivers/scsi/lpfc/lpfc_ct.c
index ef4b8620c0e8a3c8fa41ff4f32c8f4daf617980c..dd0b432f7ac5a2a3b5cd4bd42d4495c3d3bdcf3c 100644
(file)
--- 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)
{