lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi
Subsystems (2)
PATCH 1/1 lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi
Function needs to be declared as static.
Fixes 8aaa7bcf07a2 ("scsi: lpfc: Add FDMI Vendor MIB support")
Reported-by kernel test robot <[email protected]>
Signed-off-by James Smart <[email protected]>
--- drivers/scsi/lpfc/lpfc_ct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/lpfc/lpfc_ct.c +1 -1
@@ -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) {
Signature · 1 line
2.26.2
Martin K. Petersen
AppliedJames,
Quoted 1 line
Function needs to be declared as static.
Applied to 5.11/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 1 line · James Smart
Function needs to be declared as static.
Applied to 5.11/scsi-queue, thanks!
[1/1] scsi: lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi()
https://git.kernel.org/mkp/scsi/c/809032ddf9c6
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering