crypto: fix typos in comments
Subsystems (11)
Arm Qualcomm mailing list Crypto API Arm Samsung Exynos Arm/Microchip (AT91) SoC support +7 more subsystems
PATCH 1/1 crypto: fix typos in comments
Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
Assisted-by Cursor:claude-opus-5
Signed-off-by Hemanth Selam <[email protected]>
--- drivers/crypto/atmel-sha.c | 4 ++-- drivers/crypto/cavium/cpt/cptpf_main.c | 12 ++++++------ drivers/crypto/cavium/cpt/cptvf_main.c | 4 ++-- drivers/crypto/cavium/cpt/cptvf_mbox.c | 4 ++-- drivers/crypto/cavium/nitrox/nitrox_main.c | 2 +- drivers/crypto/ccp/ccp-dev.c | 2 +- drivers/crypto/ccree/cc_buffer_mgr.c | 4 ++-- drivers/crypto/chelsio/chcr_algo.c | 2 +- drivers/crypto/hisilicon/sec/sec_algs.c | 2 +- drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c | 4 ++-- drivers/crypto/omap-sham.c | 4 ++-- drivers/crypto/qce/aead.c | 2 +- drivers/crypto/s5p-sss.c | 2 +- 13 files changed, 24 insertions(+), 24 deletions(-)
drivers/crypto/atmel-sha.c +2 -2
@@ -1203,7 +1203,7 @@ static int atmel_sha_finup(struct ahash_request *req)/* * final() has to be always called to cleanup resources -* even if udpate() failed, except EINPROGRESS +* even if update() failed, except EINPROGRESS */ err2 =atmel_sha_final (req);
@@ -1338,7 +1338,7 @@ static int atmel_sha_done(struct atmel_sha_dev *dd)return err; finish: -/* finish curent request */ +/* finish current request */ atmel_sha_finish_req (dd->req, err);return err;
drivers/crypto/cavium/cpt/cptpf_main.c +6 -6
@@ -90,19 +90,19 @@ static void cpt_configure_group(struct cpt_device *cpt, u8 grp,static void cpt_disable_mbox_interrupts (struct cpt_device *cpt) { -/* Clear mbox(0) interupts for all vfs */ +/* Clear mbox(0) interrupts for all vfs */ cpt_write_csr64 (cpt->reg_base,CPTX_PF_MBOX_ENA_W1CX (0 ,0 ), ~0ull ); }static void cpt_disable_ecc_interrupts (struct cpt_device *cpt) { -/* Clear ecc(0) interupts for all vfs */ +/* Clear ecc(0) interrupts for all vfs */ cpt_write_csr64 (cpt->reg_base,CPTX_PF_ECC0_ENA_W1C (0 ), ~0ull ); }static void cpt_disable_exec_interrupts (struct cpt_device *cpt) { -/* Clear exec interupts for all vfs */ +/* Clear exec interrupts for all vfs */ cpt_write_csr64 (cpt->reg_base,CPTX_PF_EXEC_ENA_W1C (0 ), ~0ull ); }
@@ -115,7 +115,7 @@ static void cpt_disable_all_interrupts(struct cpt_device *cpt)static void cpt_enable_mbox_interrupts (struct cpt_device *cpt) { -/* Set mbox(0) interupts for all vfs */ +/* Set mbox(0) interrupts for all vfs */ cpt_write_csr64 (cpt->reg_base,CPTX_PF_MBOX_ENA_W1SX (0 ,0 ), ~0ull ); }
@@ -140,10 +140,10 @@ static int cpt_load_microcode(struct cpt_device *cpt, struct microcode *mcode)*/ if (mcode->is_ae) { core =CPT_MAX_SE_CORES ;/* start couting from 10 */ - total_cores =CPT_MAX_TOTAL_CORES ;/* upto 15 */ + total_cores =CPT_MAX_TOTAL_CORES ;/* up to 15 */ }else { core =0 ;/* start couting from 0 */ - total_cores =CPT_MAX_SE_CORES ;/* upto 9 */ + total_cores =CPT_MAX_SE_CORES ;/* up to 9 */ }/* Point to microcode for each core of the group */
drivers/crypto/cavium/cpt/cptvf_main.c +2 -2
@@ -417,7 +417,7 @@ static void cptvf_enable_swerr_interrupts(struct cpt_vf *cptvf) vqx_misc_ena.u =cpt_read_csr64 (cptvf->reg_base,CPTX_VQX_MISC_ENA_W1S (0 ,0 )); -/* Set mbox(0) interupts for the requested vf */ +/* Set mbox(0) interrupts for the requested vf */ vqx_misc_ena.s.swerr =1 ;cpt_write_csr64 (cptvf->reg_base,CPTX_VQX_MISC_ENA_W1S (0 ,0 ), vqx_misc_ena.u);
@@ -429,7 +429,7 @@ static void cptvf_enable_mbox_interrupts(struct cpt_vf *cptvf) vqx_misc_ena.u =cpt_read_csr64 (cptvf->reg_base,CPTX_VQX_MISC_ENA_W1S (0 ,0 )); -/* Set mbox(0) interupts for the requested vf */ +/* Set mbox(0) interrupts for the requested vf */ vqx_misc_ena.s.mbox =1 ;cpt_write_csr64 (cptvf->reg_base,CPTX_VQX_MISC_ENA_W1S (0 ,0 ), vqx_misc_ena.u);
drivers/crypto/cavium/cpt/cptvf_mbox.c +2 -2
@@ -120,7 +120,7 @@ int cptvf_send_vq_size_msg(struct cpt_vf *cptvf) }/* -* Communicate VF group required to PF and get the VQ binded to that group +* Communicate VF group required to PF and get the VQ bound to that group */ int cptvf_send_vf_to_grp_msg (struct cpt_vf *cptvf) {
@@ -139,7 +139,7 @@ int cptvf_send_vf_to_grp_msg(struct cpt_vf *cptvf) }/* -* Communicate VF group required to PF and get the VQ binded to that group +* Communicate VF group required to PF and get the VQ bound to that group */ int cptvf_send_vf_priority_msg (struct cpt_vf *cptvf) {
drivers/crypto/cavium/nitrox/nitrox_main.c +1 -1
@@ -468,7 +468,7 @@ static int nitrox_probe(struct pci_dev *pdev, err = -EIO ; goto ioremap_err; } -/* allocate command queus based on cpus, max queues are 64 */ +/* allocate command queues based on cpus, max queues are 64 */ ndev->nr_queues =min_t (u32,MAX_PF_QUEUES ,num_online_cpus ()); ndev->qlen = qlen;
drivers/crypto/ccp/ccp-dev.c +1 -1
@@ -30,7 +30,7 @@#define MAX_CCPS 32 -/* Limit CCP use to a specifed number of queues per device */ +/* Limit CCP use to a specified number of queues per device */ static unsigned int nqueues;module_param (nqueues, uint,0444 );MODULE_PARM_DESC (nqueues,"Number of queues per CCP (minimum 1; default: all available)" );
drivers/crypto/ccree/cc_buffer_mgr.c +2 -2
@@ -717,7 +717,7 @@ static void cc_prepare_aead_data_mlli(struct cc_drvdata *drvdata, } }else {/* Contig. ICV */ sg = &areq_ctx->src_sgl[areq_ctx->src.nents -1 ]; -/*Should hanlde if the sg is not contig.*/ +/*Should handle if the sg is not contig.*/ areq_ctx->icv_dma_addr =sg_dma_address (sg) + (*src_last_bytes - authsize); areq_ctx->icv_virt_addr = sg_virt(sg) +
@@ -749,7 +749,7 @@ static void cc_prepare_aead_data_mlli(struct cc_drvdata *drvdata, }else {/* Contig. ICV */ sg = &areq_ctx->src_sgl[areq_ctx->src.nents -1 ]; -/*Should hanlde if the sg is not contig.*/ +/*Should handle if the sg is not contig.*/ areq_ctx->icv_dma_addr =sg_dma_address (sg) + (*src_last_bytes - authsize); areq_ctx->icv_virt_addr = sg_virt(sg) +
drivers/crypto/chelsio/chcr_algo.c +1 -1
@@ -1605,7 +1605,7 @@ static struct sk_buff *create_hash_wr(struct ahash_request *req, req_ctx->hctx_wr.dma_addr =0 ; }chcr_add_hash_src_ent (req, ulptx, param); -/* Request upto max wr size */ +/* Request up to max wr size */ temp = param->kctx_len +DUMMY_BYTES + (req_ctx->hctx_wr.imm ? (param->sg_len + param->bfr_len) :0 );atomic_inc (&adap->chcr_stats.digest_rqst);
drivers/crypto/hisilicon/sec/sec_algs.c +1 -1
@@ -790,7 +790,7 @@ static int sec_alg_skcipher_crypto(struct skcipher_request *skreq,/* * Only attempt to queue if the whole lot can fit in the queue - -* we can't successfully cleanup after a partial queing so this +* we can't successfully cleanup after a partial queuing so this * must succeed or fail atomically. * * Big hammer test of both software and hardware queues - could be
drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c +2 -2
@@ -180,7 +180,7 @@ int otx_cptvf_send_vq_size_msg(struct otx_cptvf *cptvf) }/* -* Communicate VF group required to PF and get the VQ binded to that group +* Communicate VF group required to PF and get the VQ bound to that group */ int otx_cptvf_send_vf_to_grp_msg (struct otx_cptvf *cptvf,int group) {
@@ -199,7 +199,7 @@ int otx_cptvf_send_vf_to_grp_msg(struct otx_cptvf *cptvf, int group) }/* -* Communicate VF group required to PF and get the VQ binded to that group +* Communicate VF group required to PF and get the VQ bound to that group */ int otx_cptvf_send_vf_priority_msg (struct otx_cptvf *cptvf) {
drivers/crypto/omap-sham.c +2 -2
@@ -1265,7 +1265,7 @@ static int omap_sham_finup(struct ahash_request *req)return err1;/* * final() has to be always called to cleanup resources -* even if udpate() failed, except EINPROGRESS +* even if update() failed, except EINPROGRESS */ err2 =omap_sham_final (req);
@@ -1732,7 +1732,7 @@ static void omap_sham_done_task(struct work_struct *t) finish:dev_dbg (dd->dev,"update done: err: %d\n" , err); -/* finish curent request */ +/* finish current request */ omap_sham_finish_req (dd->req, err); }
drivers/crypto/qce/aead.c +1 -1
@@ -379,7 +379,7 @@ static int qce_aead_create_ccm_nonce(struct qce_aead_reqctx *rctx, struct qce_ae/* * The crypto framework encodes cryptlen as unsigned int. Thus, even though -* spec allows for upto 8 bytes to encode msg_len only 4 bytes are needed. +* spec allows for up to 8 bytes to encode msg_len only 4 bytes are needed. */ if (msglen_size >4 ) msglen_size =4 ;
drivers/crypto/s5p-sss.c +1 -1
@@ -1446,7 +1446,7 @@ static void s5p_hash_tasklet_cb(unsigned long data)return ; finish: -/* finish curent request */ +/* finish current request */ s5p_hash_finish_req (dd->hash_req,0 );/* If we are not busy, process next req */
Signature · 1 line
2.48.1
Quoted 6 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Quoted 15 lines
--- drivers/crypto/atmel-sha.c | 4 ++-- drivers/crypto/cavium/cpt/cptpf_main.c | 12 ++++++------ drivers/crypto/cavium/cpt/cptvf_main.c | 4 ++-- drivers/crypto/cavium/cpt/cptvf_mbox.c | 4 ++-- drivers/crypto/cavium/nitrox/nitrox_main.c | 2 +- drivers/crypto/ccp/ccp-dev.c | 2 +- drivers/crypto/ccree/cc_buffer_mgr.c | 4 ++-- drivers/crypto/chelsio/chcr_algo.c | 2 +- drivers/crypto/hisilicon/sec/sec_algs.c | 2 +- drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c | 4 ++-- drivers/crypto/omap-sham.c | 4 ++-- drivers/crypto/qce/aead.c | 2 +- drivers/crypto/s5p-sss.c | 2 +- 13 files changed, 24 insertions(+), 24 deletions(-)
Reviewed-by Thomas Huth <[email protected]>
Quoted 6 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Quoted 13 lines
--- drivers/crypto/atmel-sha.c | 4 ++-- drivers/crypto/cavium/cpt/cptpf_main.c | 12 ++++++------ drivers/crypto/cavium/cpt/cptvf_main.c | 4 ++-- drivers/crypto/cavium/cpt/cptvf_mbox.c | 4 ++-- drivers/crypto/cavium/nitrox/nitrox_main.c | 2 +- drivers/crypto/ccp/ccp-dev.c | 2 +- drivers/crypto/ccree/cc_buffer_mgr.c | 4 ++-- drivers/crypto/chelsio/chcr_algo.c | 2 +- drivers/crypto/hisilicon/sec/sec_algs.c | 2 +- drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c | 4 ++-- drivers/crypto/omap-sham.c | 4 ++-- drivers/crypto/qce/aead.c | 2 +-
For QCE:
Herbert Xu
maintainerQuoted 6 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Quoted 15 lines
--- drivers/crypto/atmel-sha.c | 4 ++-- drivers/crypto/cavium/cpt/cptpf_main.c | 12 ++++++------ drivers/crypto/cavium/cpt/cptvf_main.c | 4 ++-- drivers/crypto/cavium/cpt/cptvf_mbox.c | 4 ++-- drivers/crypto/cavium/nitrox/nitrox_main.c | 2 +- drivers/crypto/ccp/ccp-dev.c | 2 +- drivers/crypto/ccree/cc_buffer_mgr.c | 4 ++-- drivers/crypto/chelsio/chcr_algo.c | 2 +- drivers/crypto/hisilicon/sec/sec_algs.c | 2 +- drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c | 4 ++-- drivers/crypto/omap-sham.c | 4 ++-- drivers/crypto/qce/aead.c | 2 +- drivers/crypto/s5p-sss.c | 2 +- 13 files changed, 24 insertions(+), 24 deletions(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt