Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: fnic: Rudimentary spelling fixes

Rudimentary typo fixes throughout the fnic_trace.c file.

Link: https://lore.kernel.org/r/20210317092240.927822-1-unixbhaskar@gmail.com
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bhaskar Chowdhury and committed by
Martin K. Petersen
bcf064bc ac5669bf

+9 -9
+9 -9
drivers/scsi/fnic/fnic_trace.c
··· 153 153 if (rd_idx > (fnic_max_trace_entries-1)) 154 154 rd_idx = 0; 155 155 /* 156 - * Continure dumpping trace buffer entries into 156 + * Continue dumping trace buffer entries into 157 157 * memory file till rd_idx reaches write index 158 158 */ 159 159 if (rd_idx == wr_idx) ··· 189 189 tbp->data[3], tbp->data[4]); 190 190 rd_idx++; 191 191 /* 192 - * Continue dumpping trace buffer entries into 192 + * Continue dumping trace buffer entries into 193 193 * memory file till rd_idx reaches write index 194 194 */ 195 195 if (rd_idx == wr_idx) ··· 632 632 * fnic_fc_ctlr_set_trace_data: 633 633 * Maintain rd & wr idx accordingly and set data 634 634 * Passed parameters: 635 - * host_no: host number accociated with fnic 635 + * host_no: host number associated with fnic 636 636 * frame_type: send_frame, rece_frame or link event 637 637 * fc_frame: pointer to fc_frame 638 638 * frame_len: Length of the fc_frame ··· 715 715 * fnic_fc_ctlr_get_trace_data: Copy trace buffer to a memory file 716 716 * Passed parameter: 717 717 * @fnic_dbgfs_t: pointer to debugfs trace buffer 718 - * rdata_flag: 1 => Unformated file 719 - * 0 => formated file 718 + * rdata_flag: 1 => Unformatted file 719 + * 0 => formatted file 720 720 * Description: 721 721 * This routine will copy the trace data to memory file with 722 722 * proper formatting and also copy to another memory 723 - * file without formatting for further procesing. 724 - * Retrun Value: 723 + * file without formatting for further processing. 724 + * Return Value: 725 725 * Number of bytes that were dumped into fnic_dbgfs_t 726 726 */ 727 727 ··· 785 785 * @fc_trace_hdr_t: pointer to trace data 786 786 * @fnic_dbgfs_t: pointer to debugfs trace buffer 787 787 * @orig_len: pointer to len 788 - * rdata_flag: 0 => Formated file, 1 => Unformated file 788 + * rdata_flag: 0 => Formatted file, 1 => Unformatted file 789 789 * Description: 790 790 * This routine will format and copy the passed trace data 791 - * for formated file or unformated file accordingly. 791 + * for formatted file or unformatted file accordingly. 792 792 */ 793 793 794 794 void copy_and_format_trace_data(struct fc_trace_hdr *tdata,