summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvme147.c
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2016-09-26 14:00:59 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-28 07:06:50 +0200
commit0825b8ee2e58ac6616a9936a745a8ad68b0dd362 (patch)
tree0ebe41c5ed81e1c1be974ae12334c11a798cdb57 /drivers/scsi/mvme147.c
parentscsi: mvsas: Mark symbols static where possible (diff)
downloadlinux-0825b8ee2e58ac6616a9936a745a8ad68b0dd362.tar.xz
linux-0825b8ee2e58ac6616a9936a745a8ad68b0dd362.zip
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>
Diffstat (limited to 'drivers/scsi/mvme147.c')
0 files changed, 0 insertions, 0 deletions