]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
scsi: bnx2fc: Make a bunch of symbols static in bnx2fc_fcoe.c
authorJason Yan <yanaijie@huawei.com>
Sat, 12 Sep 2020 03:37:58 +0000 (11:37 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 16 Sep 2020 01:29:21 +0000 (21:29 -0400)
commit5c2ef01448e9f136f8344c991bb1296e6edc44f4
tree8f35604995b4fe8aa8e85e0fec70951986ce2008
parent7867c549d5741437b771a91e2a1d5e77e48bc3d0
scsi: bnx2fc: Make a bunch of symbols static in bnx2fc_fcoe.c

This eliminates the following sparse warning:

drivers/scsi/bnx2fc/bnx2fc_fcoe.c:53:1: warning: symbol
'bnx2fc_global_lock' was not declared. Should it be static?
drivers/scsi/bnx2fc/bnx2fc_fcoe.c:111:6: warning: symbol
'bnx2fc_devloss_tmo' was not declared. Should it be static?
drivers/scsi/bnx2fc/bnx2fc_fcoe.c:116:6: warning: symbol
'bnx2fc_max_luns' was not declared. Should it be static?
drivers/scsi/bnx2fc/bnx2fc_fcoe.c:121:6: warning: symbol
'bnx2fc_queue_depth' was not declared. Should it be static?
drivers/scsi/bnx2fc/bnx2fc_fcoe.c:126:6: warning: symbol
'bnx2fc_log_fka' was not declared. Should it be static?

Link: https://lore.kernel.org/r/20200912033758.142601-1-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c