Commit eae9b178 authored by Jason Yan's avatar Jason Yan Committed by Martin K. Petersen

scsi: bfa: bfa_ioc_ct.c: make two funcitons static

Fix the following sparse warning:

drivers/scsi/bfa/bfa_ioc_ct.c:368:1: warning: symbol
'bfa_ioc_ct2_lpu_read_stat' was not declared. Should it be static?
drivers/scsi/bfa/bfa_ioc_ct.c:748:1: warning: symbol
'bfa_ioc_ct2_mac_reset' was not declared. Should it be static?

Link: https://lore.kernel.org/r/20200407032202.36789-6-yanaijie@huawei.comReported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 901ad27c
...@@ -364,7 +364,7 @@ bfa_ioc_ct_isr_mode_set(struct bfa_ioc_s *ioc, bfa_boolean_t msix) ...@@ -364,7 +364,7 @@ bfa_ioc_ct_isr_mode_set(struct bfa_ioc_s *ioc, bfa_boolean_t msix)
writel(r32, rb + FNC_PERS_REG); writel(r32, rb + FNC_PERS_REG);
} }
bfa_boolean_t static bfa_boolean_t
bfa_ioc_ct2_lpu_read_stat(struct bfa_ioc_s *ioc) bfa_ioc_ct2_lpu_read_stat(struct bfa_ioc_s *ioc)
{ {
u32 r32; u32 r32;
...@@ -744,7 +744,7 @@ bfa_ioc_ct2_mem_init(void __iomem *rb) ...@@ -744,7 +744,7 @@ bfa_ioc_ct2_mem_init(void __iomem *rb)
writel(0, (rb + CT2_MBIST_CTL_REG)); writel(0, (rb + CT2_MBIST_CTL_REG));
} }
void static void
bfa_ioc_ct2_mac_reset(void __iomem *rb) bfa_ioc_ct2_mac_reset(void __iomem *rb)
{ {
/* put port0, port1 MAC & AHB in reset */ /* put port0, port1 MAC & AHB in reset */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment