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

scsi: bfa: bfa_fcs_lport.c: make bfa_fcport_get_loop_attr() static

Fix the following sparse warning:

drivers/scsi/bfa/bfa_fcs_lport.c:1287:1: warning: symbol
'bfa_fcport_get_loop_attr' was not declared. Should it be static?

Link: https://lore.kernel.org/r/20200407032202.36789-5-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 84a2fd23
...@@ -1283,7 +1283,7 @@ bfa_fcs_lport_n2n_offline(struct bfa_fcs_lport_s *port) ...@@ -1283,7 +1283,7 @@ bfa_fcs_lport_n2n_offline(struct bfa_fcs_lport_s *port)
n2n_port->reply_oxid = 0; n2n_port->reply_oxid = 0;
} }
void static void
bfa_fcport_get_loop_attr(struct bfa_fcs_lport_s *port) bfa_fcport_get_loop_attr(struct bfa_fcs_lport_s *port)
{ {
int i = 0, j = 0, bit = 0, alpa_bit = 0; int i = 0, j = 0, bit = 0, alpa_bit = 0;
......
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