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

net/smc: Address spelling errors

Address spelling errors flagged by codespell.

This patch is intended to cover all files under drivers/smc

Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: D. Wythe <alibuda@linux.alibaba.com>
Reviewed-by: Guangguan Wang <guangguan.wang@linux.alibaba.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
Link: https://patch.msgid.link/20241009-smc-starspell-v1-1-b8b395bbaf82@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Simon Horman and committed by
Jakub Kicinski
cd959bf7 bdb5d248

+5 -5
+1 -1
net/smc/smc.h
··· 278 278 */ 279 279 u64 peer_token; /* SMC-D token of peer */ 280 280 u8 killed : 1; /* abnormal termination */ 281 - u8 freed : 1; /* normal termiation */ 281 + u8 freed : 1; /* normal termination */ 282 282 u8 out_of_sync : 1; /* out of sync with peer */ 283 283 }; 284 284
+1 -1
net/smc/smc_clc.h
··· 156 156 } __aligned(4); 157 157 158 158 struct smc_clc_msg_smcd { /* SMC-D GID information */ 159 - struct smc_clc_smcd_gid_chid ism; /* ISM native GID+CHID of requestor */ 159 + struct smc_clc_smcd_gid_chid ism; /* ISM native GID+CHID of requester */ 160 160 __be16 v2_ext_offset; /* SMC Version 2 Extension Offset */ 161 161 u8 vendor_oui[3]; /* vendor organizationally unique identifier */ 162 162 u8 vendor_exp_options[5];
+1 -1
net/smc/smc_core.c
··· 2321 2321 } 2322 2322 if (lgr->buf_type == SMCR_PHYS_CONT_BUFS) 2323 2323 goto out; 2324 - fallthrough; // try virtually continguous buf 2324 + fallthrough; // try virtually contiguous buf 2325 2325 case SMCR_VIRT_CONT_BUFS: 2326 2326 buf_desc->order = get_order(bufsize); 2327 2327 buf_desc->cpu_addr = vzalloc(PAGE_SIZE << buf_desc->order);
+2 -2
net/smc/smc_core.h
··· 30 30 */ 31 31 #define SMC_CONN_PER_LGR_PREFER 255 /* Preferred connections per link group used for 32 32 * SMC-R v2.1 and later negotiation, vendors or 33 - * distrubutions may modify it to a value between 33 + * distributions may modify it to a value between 34 34 * 16-255 as needed. 35 35 */ 36 36 ··· 181 181 */ 182 182 #define SMC_LINKS_PER_LGR_MAX_PREFER 2 /* Preferred max links per link group used for 183 183 * SMC-R v2.1 and later negotiation, vendors or 184 - * distrubutions may modify it to a value between 184 + * distributions may modify it to a value between 185 185 * 1-2 as needed. 186 186 */ 187 187