diff options
author | James Smart <James.Smart@Emulex.Com> | 2007-08-02 11:10:37 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-08-01 13:25:39 -0400 |
commit | 311464ec0bfea96e7f09f4afca26283f5fa90c24 (patch) | |
tree | 1d4022a3b7031dbaa2115cb9d9dfcd3efa0707d0 /drivers/scsi/lpfc/lpfc_debugfs.c | |
parent | 51ef4c26891a734bc8416b639ad460a8162926bc (diff) |
[SCSI] lpfc 8.2.2 : Style cleanups
- Clean up all instances of mixed tab-space indentation
- Clean up sparse build errors
- Add appropriate static's
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_debugfs.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_debugfs.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c index 697a09dccb6f..2e3c01bebed6 100644 --- a/drivers/scsi/lpfc/lpfc_debugfs.c +++ b/drivers/scsi/lpfc/lpfc_debugfs.c | |||
@@ -112,10 +112,8 @@ struct lpfc_debug { | |||
112 | int len; | 112 | int len; |
113 | }; | 113 | }; |
114 | 114 | ||
115 | extern struct lpfc_hbq_init *lpfc_hbq_defs[]; | 115 | static atomic_t lpfc_debugfs_seq_trc_cnt = ATOMIC_INIT(0); |
116 | 116 | static unsigned long lpfc_debugfs_start_time = 0L; | |
117 | atomic_t lpfc_debugfs_seq_trc_cnt = ATOMIC_INIT(0); | ||
118 | unsigned long lpfc_debugfs_start_time = 0L; | ||
119 | 117 | ||
120 | static int | 118 | static int |
121 | lpfc_debugfs_disc_trc_data(struct lpfc_vport *vport, char *buf, int size) | 119 | lpfc_debugfs_disc_trc_data(struct lpfc_vport *vport, char *buf, int size) |
@@ -201,7 +199,7 @@ lpfc_debugfs_slow_ring_trc_data(struct lpfc_hba *phba, char *buf, int size) | |||
201 | return len; | 199 | return len; |
202 | } | 200 | } |
203 | 201 | ||
204 | int lpfc_debugfs_last_hbq = -1; | 202 | static int lpfc_debugfs_last_hbq = -1; |
205 | 203 | ||
206 | static int | 204 | static int |
207 | lpfc_debugfs_hbqinfo_data(struct lpfc_hba *phba, char *buf, int size) | 205 | lpfc_debugfs_hbqinfo_data(struct lpfc_hba *phba, char *buf, int size) |