aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fnic
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/fnic')
-rw-r--r--drivers/scsi/fnic/fnic_debugfs.c2
-rw-r--r--drivers/scsi/fnic/fnic_trace.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/fnic/fnic_debugfs.c b/drivers/scsi/fnic/fnic_debugfs.c
index 2c613bdea78f..5980c10c734d 100644
--- a/drivers/scsi/fnic/fnic_debugfs.c
+++ b/drivers/scsi/fnic/fnic_debugfs.c
@@ -210,7 +210,7 @@ static ssize_t fnic_trace_ctrl_write(struct file *filp,
210 else if (*trace_type == fc_trc_flag->fc_clear) 210 else if (*trace_type == fc_trc_flag->fc_clear)
211 fnic_fc_trace_cleared = val; 211 fnic_fc_trace_cleared = val;
212 else 212 else
213 pr_err("fnic: cannot write to any debufs file\n"); 213 pr_err("fnic: cannot write to any debugfs file\n");
214 214
215 (*ppos)++; 215 (*ppos)++;
216 216
diff --git a/drivers/scsi/fnic/fnic_trace.c b/drivers/scsi/fnic/fnic_trace.c
index 121a5d7e98c4..acf1f95cb5c5 100644
--- a/drivers/scsi/fnic/fnic_trace.c
+++ b/drivers/scsi/fnic/fnic_trace.c
@@ -592,7 +592,7 @@ int fnic_fc_trace_set_data(u32 host_no, u8 frame_type,
592 592
593 if (fnic_fc_trace_cleared == 1) { 593 if (fnic_fc_trace_cleared == 1) {
594 fc_trace_entries.rd_idx = fc_trace_entries.wr_idx = 0; 594 fc_trace_entries.rd_idx = fc_trace_entries.wr_idx = 0;
595 pr_info("fnic: Reseting the read idx\n"); 595 pr_info("fnic: Resetting the read idx\n");
596 memset((void *)fnic_fc_ctlr_trace_buf_p, 0, 596 memset((void *)fnic_fc_ctlr_trace_buf_p, 0,
597 fnic_fc_trace_max_pages * PAGE_SIZE); 597 fnic_fc_trace_max_pages * PAGE_SIZE);
598 fnic_fc_trace_cleared = 0; 598 fnic_fc_trace_cleared = 0;