linux/drivers/scsi/be2iscsi
Tom Rix 1efbacd2b9 scsi: be2iscsi: Make some variables static
smatch reports several warnings:

drivers/scsi/be2iscsi/be_main.c:148:1: warning:
  symbol 'dev_attr_beiscsi_log_enable' was not declared. Should it be static?
drivers/scsi/be2iscsi/be_main.c:158:1: warning:
  symbol 'dev_attr_beiscsi_drvr_ver' was not declared. Should it be static?
drivers/scsi/be2iscsi/be_main.c:159:1: warning:
  symbol 'dev_attr_beiscsi_adapter_family' was not declared. Should it be static?
drivers/scsi/be2iscsi/be_main.c:160:1: warning:
  symbol 'dev_attr_beiscsi_fw_ver' was not declared. Should it be static?
drivers/scsi/be2iscsi/be_main.c:161:1: warning:
  symbol 'dev_attr_beiscsi_phys_port' was not declared. Should it be static?
drivers/scsi/be2iscsi/be_main.c:162:1: warning:
  symbol 'dev_attr_beiscsi_active_session_count' was not declared. Should it be static?
drivers/scsi/be2iscsi/be_main.c:164:1: warning:
  symbol 'dev_attr_beiscsi_free_session_count' was not declared. Should it be static ?

These variables are only used in be_main.c, so should be static.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230314005157.536918-1-trix@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-03-16 23:06:43 -04:00
..
be_cmds.c scsi: be2iscsi: Remove unused variable internal_page_offset 2023-03-09 21:19:31 -05:00
be_cmds.h treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
be_iscsi.c scsi: iscsi: Rel ref after iscsi_lookup_endpoint() 2021-06-02 01:28:20 -04:00
be_iscsi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 338 2019-06-05 17:37:07 +02:00
be_main.c scsi: be2iscsi: Make some variables static 2023-03-16 23:06:43 -04:00
be_main.h scsi: be2iscsi: Drop redundant pci_enable_pcie_error_reporting() 2023-03-09 22:00:38 -05:00
be_mgmt.c scsi: be2iscsi: Fix use-after-free during IP updates 2021-07-18 21:19:14 -04:00
be_mgmt.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 338 2019-06-05 17:37:07 +02:00
be.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 338 2019-06-05 17:37:07 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00