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

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

Fix the following sparse warning:

drivers/scsi/bfa/bfad_attr.c:441:1: warning: symbol
'bfad_im_issue_fc_host_lip' was not declared. Should it be static?
drivers/scsi/bfa/bfad_attr.c:566:1: warning: symbol
'bfad_im_vport_set_symbolic_name' was not declared. Should it be static?

Link: https://lore.kernel.org/r/20200407032202.36789-7-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 eae9b178
...@@ -437,7 +437,7 @@ bfad_im_vport_create(struct fc_vport *fc_vport, bool disable) ...@@ -437,7 +437,7 @@ bfad_im_vport_create(struct fc_vport *fc_vport, bool disable)
return status; return status;
} }
int static int
bfad_im_issue_fc_host_lip(struct Scsi_Host *shost) bfad_im_issue_fc_host_lip(struct Scsi_Host *shost)
{ {
struct bfad_im_port_s *im_port = struct bfad_im_port_s *im_port =
...@@ -562,7 +562,7 @@ bfad_im_vport_disable(struct fc_vport *fc_vport, bool disable) ...@@ -562,7 +562,7 @@ bfad_im_vport_disable(struct fc_vport *fc_vport, bool disable)
return 0; return 0;
} }
void static void
bfad_im_vport_set_symbolic_name(struct fc_vport *fc_vport) bfad_im_vport_set_symbolic_name(struct fc_vport *fc_vport)
{ {
struct bfad_vport_s *vport = (struct bfad_vport_s *)fc_vport->dd_data; struct bfad_vport_s *vport = (struct bfad_vport_s *)fc_vport->dd_data;
......
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