aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_dfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_dfs.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_dfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_dfs.c b/drivers/scsi/qla2xxx/qla_dfs.c
index ead17288e2a7..5819a45ac5ef 100644
--- a/drivers/scsi/qla2xxx/qla_dfs.c
+++ b/drivers/scsi/qla2xxx/qla_dfs.c
@@ -193,6 +193,8 @@ qla_dfs_tgt_counters_show(struct seq_file *s, void *unused)
193 193
194 for (i = 0; i < vha->hw->max_qpairs; i++) { 194 for (i = 0; i < vha->hw->max_qpairs; i++) {
195 qpair = vha->hw->queue_pair_map[i]; 195 qpair = vha->hw->queue_pair_map[i];
196 if (!qpair)
197 continue;
196 qla_core_sbt_cmd += qpair->tgt_counters.qla_core_sbt_cmd; 198 qla_core_sbt_cmd += qpair->tgt_counters.qla_core_sbt_cmd;
197 core_qla_que_buf += qpair->tgt_counters.core_qla_que_buf; 199 core_qla_que_buf += qpair->tgt_counters.core_qla_que_buf;
198 qla_core_ret_ctio += qpair->tgt_counters.qla_core_ret_ctio; 200 qla_core_ret_ctio += qpair->tgt_counters.qla_core_ret_ctio;