* [PATCH] lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi
@ 2020-11-19 20:33 James Smart
2020-11-20 3:19 ` Martin K. Petersen
2020-11-24 3:58 ` Martin K. Petersen
0 siblings, 2 replies; 3+ messages in thread
From: James Smart @ 2020-11-19 20:33 UTC (permalink / raw)
To: linux-scsi; +Cc: James Smart, kernel test robot
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
Function needs to be declared as static.
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>
---
drivers/scsi/lpfc/lpfc_ct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
{
--
2.26.2
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4163 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi
2020-11-19 20:33 [PATCH] lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi James Smart
@ 2020-11-20 3:19 ` Martin K. Petersen
2020-11-24 3:58 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2020-11-20 3:19 UTC (permalink / raw)
To: James Smart; +Cc: linux-scsi, kernel test robot
James,
> Function needs to be declared as static.
Applied to 5.11/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi
2020-11-19 20:33 [PATCH] lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi James Smart
2020-11-20 3:19 ` Martin K. Petersen
@ 2020-11-24 3:58 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2020-11-24 3:58 UTC (permalink / raw)
To: linux-scsi, James Smart; +Cc: Martin K . Petersen, kernel test robot
On Thu, 19 Nov 2020 12:33:28 -0800, James Smart wrote:
> 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
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-24 3:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 20:33 [PATCH] lpfc: Fix missing prototype warning for lpfc_fdmi_vendor_attr_mi James Smart
2020-11-20 3:19 ` Martin K. Petersen
2020-11-24 3:58 ` Martin K. Petersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.