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

crypto: drivers - Correct multiple typos in comments

Fixed some confusing spelling errors, the details are as follows:

-in the code comments:
fininishing -> finishing
commad -> command
intrepretation -> interpretation
inuput -> input
overfloa -> overflow
Iniialize -> Initialize

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Shen Lichuan and committed by
Herbert Xu
98091a82 f05ddb80

+6 -6
+1 -1
drivers/crypto/atmel-tdes.c
··· 872 872 if (!err) 873 873 err = atmel_tdes_crypt_start(dd); 874 874 if (!err) 875 - return; /* DMA started. Not fininishing. */ 875 + return; /* DMA started. Not finishing. */ 876 876 } 877 877 878 878 atmel_tdes_finish_req(dd, err);
+2 -2
drivers/crypto/cavium/cpt/cptvf_reqmanager.c
··· 238 238 239 239 qinfo = &cptvf->cqinfo; 240 240 queue = &qinfo->queue[qno]; 241 - /* lock commad queue */ 241 + /* lock command queue */ 242 242 spin_lock(&queue->lock); 243 243 ent = &queue->qhead->head[queue->idx * qinfo->cmd_size]; 244 244 memcpy(ent, (void *)cmd, qinfo->cmd_size); ··· 510 510 info->time_in = jiffies; 511 511 info->req = req; 512 512 513 - /* Create the CPT_INST_S type command for HW intrepretation */ 513 + /* Create the CPT_INST_S type command for HW interpretation */ 514 514 cptinst.s.doneint = true; 515 515 cptinst.s.res_addr = (u64)info->comp_baddr; 516 516 cptinst.s.tag = 0;
+1 -1
drivers/crypto/cavium/nitrox/nitrox_lib.c
··· 17 17 18 18 #define CRYPTO_CTX_SIZE 256 19 19 20 - /* packet inuput ring alignments */ 20 + /* packet input ring alignments */ 21 21 #define PKTIN_Q_ALIGN_BYTES 16 22 22 /* AQM Queue input alignments */ 23 23 #define AQM_Q_ALIGN_BYTES 32
+1 -1
drivers/crypto/chelsio/chcr_algo.c
··· 1186 1186 else 1187 1187 bytes = rounddown(bytes, 16); 1188 1188 } else { 1189 - /*CTR mode counter overfloa*/ 1189 + /*CTR mode counter overflow*/ 1190 1190 bytes = req->cryptlen - reqctx->processed; 1191 1191 } 1192 1192 err = chcr_update_cipher_iv(req, fw6_pld, reqctx->iv);
+1 -1
drivers/crypto/sa2ul.c
··· 574 574 /* Clear the command label */ 575 575 memzero_explicit(cmdl, (SA_MAX_CMDL_WORDS * sizeof(u32))); 576 576 577 - /* Iniialize the command update structure */ 577 + /* Initialize the command update structure */ 578 578 memzero_explicit(upd_info, sizeof(*upd_info)); 579 579 580 580 if (cfg->enc_eng_id && cfg->auth_eng_id) {