]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
crypto: drivers - Correct multiple typos in comments
authorShen Lichuan <shenlichuan@vivo.com>
Fri, 20 Sep 2024 06:11:41 +0000 (14:11 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 5 Oct 2024 05:22:05 +0000 (13:22 +0800)
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>
drivers/crypto/atmel-tdes.c
drivers/crypto/cavium/cpt/cptvf_reqmanager.c
drivers/crypto/cavium/nitrox/nitrox_lib.c
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/sa2ul.c

index dcc2380a5889f5fb3455486eabc88df4d2a4e56f..d539f4422cad9e26f76133c98d6dff1ced8bd911 100644 (file)
@@ -872,7 +872,7 @@ static void atmel_tdes_done_task(unsigned long data)
                if (!err)
                        err = atmel_tdes_crypt_start(dd);
                if (!err)
-                       return; /* DMA started. Not fininishing. */
+                       return; /* DMA started. Not finishing. */
        }
 
        atmel_tdes_finish_req(dd, err);
index 153004bdfb5cdec3039a54137a238ffb296bdf75..fb59bb2824557555c7faa4a76b5de4a14a883a0e 100644 (file)
@@ -238,7 +238,7 @@ static int send_cpt_command(struct cpt_vf *cptvf, union cpt_inst_s *cmd,
 
        qinfo = &cptvf->cqinfo;
        queue = &qinfo->queue[qno];
-       /* lock commad queue */
+       /* lock command queue */
        spin_lock(&queue->lock);
        ent = &queue->qhead->head[queue->idx * qinfo->cmd_size];
        memcpy(ent, (void *)cmd, qinfo->cmd_size);
@@ -510,7 +510,7 @@ get_pending_entry:
        info->time_in = jiffies;
        info->req = req;
 
-       /* Create the CPT_INST_S type command for HW intrepretation */
+       /* Create the CPT_INST_S type command for HW interpretation */
        cptinst.s.doneint = true;
        cptinst.s.res_addr = (u64)info->comp_baddr;
        cptinst.s.tag = 0;
index a5cdc2b48bd6c328cc9e31032aaa3b2c074acdd3..068265207ddd8a109908da885c439e975af1f22f 100644 (file)
@@ -17,7 +17,7 @@
 
 #define CRYPTO_CTX_SIZE        256
 
-/* packet inuput ring alignments */
+/* packet input ring alignments */
 #define PKTIN_Q_ALIGN_BYTES 16
 /* AQM Queue input alignments */
 #define AQM_Q_ALIGN_BYTES 32
index 177428480c7d16424e5f05dbc5b2553fa1e31803..af37477ffd8ddb0ffb9da0939e3cd44e1e935b62 100644 (file)
@@ -1186,7 +1186,7 @@ static int chcr_handle_cipher_resp(struct skcipher_request *req,
                else
                        bytes = rounddown(bytes, 16);
        } else {
-               /*CTR mode counter overfloa*/
+               /*CTR mode counter overflow*/
                bytes  = req->cryptlen - reqctx->processed;
        }
        err = chcr_update_cipher_iv(req, fw6_pld, reqctx->iv);
index 461eca40e8789f2c5e6016ad68b199665c1ba601..3f056f56bd21f7291927c962de1a3c62b1edef04 100644 (file)
@@ -574,7 +574,7 @@ static int sa_format_cmdl_gen(struct sa_cmdl_cfg *cfg, u8 *cmdl,
        /* Clear the command label */
        memzero_explicit(cmdl, (SA_MAX_CMDL_WORDS * sizeof(u32)));
 
-       /* Iniialize the command update structure */
+       /* Initialize the command update structure */
        memzero_explicit(upd_info, sizeof(*upd_info));
 
        if (cfg->enc_eng_id && cfg->auth_eng_id) {