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

scsi: Fix spelling mistakes in header files

Fix some spelling mistakes in comments:

pathes ==> paths
Resouce ==> Resource
retreived ==> retrieved
recevied ==> received
interruped ==> interrupted

[mkp: kept 'keep-alives' and 'busses']

Link: https://lore.kernel.org/r/20210517095945.7363-1-thunder.leizhen@huawei.com
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Zhen Lei and committed by
Martin K. Petersen
40d6b939 98f92dff

+6 -6
+1 -1
include/scsi/iscsi_proto.h
··· 52 52 } 53 53 54 54 /* 55 - * useful common(control and data pathes) macro 55 + * useful common(control and data paths) macro 56 56 */ 57 57 #define ntoh24(p) (((p)[0] << 16) | ((p)[1] << 8) | ((p)[2])) 58 58 #define hton24(p, v) { \
+3 -3
include/scsi/libfc.h
··· 399 399 * @sid: Source FCID 400 400 * @did: Destination FCID 401 401 * @esb_stat: ESB exchange status 402 - * @r_a_tov: Resouce allocation time out value (in msecs) 402 + * @r_a_tov: Resource allocation time out value (in msecs) 403 403 * @seq_id: The next sequence ID to use 404 404 * @encaps: encapsulation information for lower-level driver 405 405 * @f_ctl: F_CTL flags for the sequence ··· 668 668 * @wwnn: World Wide Node Name 669 669 * @service_params: Common service parameters 670 670 * @e_d_tov: Error detection timeout value 671 - * @r_a_tov: Resouce allocation timeout value 671 + * @r_a_tov: Resource allocation timeout value 672 672 * @rnid_gen: RNID information 673 673 * @sg_supp: Indicates if scatter gather is supported 674 674 * @seq_offload: Indicates if sequence offload is supported ··· 841 841 842 842 /** 843 843 * lport_priv() - Return the private data from a local port 844 - * @lport: The local port whose private data is to be retreived 844 + * @lport: The local port whose private data is to be retrieved 845 845 */ 846 846 static inline void *lport_priv(const struct fc_lport *lport) 847 847 {
+1 -1
include/scsi/scsi_bsg_iscsi.h
··· 84 84 */ 85 85 uint32_t result; 86 86 87 - /* If there was reply_payload, how much was recevied ? */ 87 + /* If there was reply_payload, how much was received ? */ 88 88 uint32_t reply_payload_rcv_len; 89 89 90 90 union {
+1 -1
include/scsi/sg.h
··· 145 145 146 146 typedef struct sg_req_info { /* used by SG_GET_REQUEST_TABLE ioctl() */ 147 147 char req_state; /* 0 -> not used, 1 -> written, 2 -> ready to read */ 148 - char orphan; /* 0 -> normal request, 1 -> from interruped SG_IO */ 148 + char orphan; /* 0 -> normal request, 1 -> from interrupted SG_IO */ 149 149 char sg_io_owned; /* 0 -> complete with read(), 1 -> owned by SG_IO */ 150 150 char problem; /* 0 -> no problem detected, 1 -> error to report */ 151 151 int pack_id; /* pack_id associated with request */