1. 28 Sep, 2016 1 commit
    • Baoyou Xie's avatar
      scsi: be2iscsi: mark symbols static where possible · 0825b8ee
      Baoyou Xie authored
      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: default avatarBaoyou Xie <baoyou.xie@linaro.org>
      Reviewed-by: default avatarJitendra Bhivare <Jitendra.bhivare@broadcom>
      Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
      0825b8ee
  2. 27 Sep, 2016 13 commits
  3. 21 Sep, 2016 2 commits
  4. 19 Sep, 2016 7 commits
  5. 15 Sep, 2016 5 commits
  6. 14 Sep, 2016 12 commits