linux_old1/drivers/scsi/be2iscsi
Baoyou Xie 0825b8ee2e scsi: be2iscsi: mark symbols static where possible
We get 6 warnings when building kernel with W=1:
drivers/scsi/be2iscsi/be_main.c:65:1: warning: no previous prototype for 'beiscsi_log_enable_disp' [-Wmissing-prototypes]
drivers/scsi/be2iscsi/be_main.c:78:1: warning: no previous prototype for 'beiscsi_log_enable_change' [-Wmissing-prototypes]
drivers/scsi/be2iscsi/be_main.c:97:1: warning: no previous prototype for 'beiscsi_log_enable_store' [-Wmissing-prototypes]
drivers/scsi/be2iscsi/be_main.c:116:1: warning: no previous prototype for 'beiscsi_log_enable_init' [-Wmissing-prototypes]
drivers/scsi/be2iscsi/be_main.c:4587:5: warning: no previous prototype for 'beiscsi_iotask_v2' [-Wmissing-prototypes]
drivers/scsi/be2iscsi/be_main.c:4976:6: warning: no previous prototype for 'beiscsi_hba_attrs_init' [-Wmissing-prototypes]

In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static. So this
patch marks these functions with 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Reviewed-by: Jitendra Bhivare <Jitendra.bhivare@broadcom>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-09-28 01:06:50 -04:00
..
Kconfig irq_poll: make blk-iopoll available outside the block layer 2015-12-11 11:52:24 -08:00
Makefile be2iscsi: Revert ownership to Emulex 2015-10-27 10:34:18 +09:00
be.h scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be_cmds.c scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be_cmds.h scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be_iscsi.c scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be_iscsi.h scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00
be_main.c scsi: be2iscsi: mark symbols static where possible 2016-09-28 01:06:50 -04:00
be_main.h scsi: be2iscsi: Update the driver version 2016-08-23 22:42:45 -04:00
be_mgmt.c scsi: be2iscsi: Add missing unlock for mbox_lock 2016-08-30 22:26:15 -04:00
be_mgmt.h scsi: be2iscsi: Update copyright information 2016-08-23 22:42:44 -04:00