aboutsummaryrefslogtreecommitdiffstats
path: root/module/icp/core/kcf_sched.c
diff options
context:
space:
mode:
authorAndrea Gelmini <[email protected]>2019-08-30 23:26:07 +0200
committerBrian Behlendorf <[email protected]>2019-08-30 14:26:07 -0700
commit9d40bdf414e9baa8fcaf60188e2067e7ec3c1f0f (patch)
tree05220c15160a39c86f9978df9c01365caea5417a /module/icp/core/kcf_sched.c
parentcf7c5a030e505451e0cbadc49e33e41f5219c44b (diff)
Fix typos in modules/icp/
Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Richard Laager <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Andrea Gelmini <[email protected]> Closes #9239
Diffstat (limited to 'module/icp/core/kcf_sched.c')
-rw-r--r--module/icp/core/kcf_sched.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/icp/core/kcf_sched.c b/module/icp/core/kcf_sched.c
index da2346f7e..c8c2bbd42 100644
--- a/module/icp/core/kcf_sched.c
+++ b/module/icp/core/kcf_sched.c
@@ -182,7 +182,7 @@ kcf_areqnode_alloc(kcf_provider_desc_t *pd, kcf_context_t *ictx,
* reached, signal the creator thread for more threads.
*
* If the two conditions above are not met, we don't need to do
- * any thing. The request will be picked up by one of the
+ * anything. The request will be picked up by one of the
* worker threads when it becomes available.
*/
static int
@@ -1182,7 +1182,7 @@ kcf_aop_done(kcf_areq_node_t *areq, int error)
/*
* Handle recoverable errors. This has to be done first
- * before doing any thing else in this routine so that
+ * before doing anything else in this routine so that
* we do not change the state of the request.
*/
if (error != CRYPTO_SUCCESS && IS_RECOVERABLE(error)) {
@@ -1432,7 +1432,7 @@ crypto_cancel_req(crypto_req_id_t id)
/*
* There is no interface to remove an entry
* once it is on the taskq. So, we do not do
- * any thing for a hardware provider.
+ * anything for a hardware provider.
*/
break;
default:
@@ -1535,7 +1535,7 @@ kcf_misc_kstat_update(kstat_t *ksp, int rw)
}
/*
- * Allocate and initiatize a kcf_dual_req, used for saving the arguments of
+ * Allocate and initialize a kcf_dual_req, used for saving the arguments of
* a dual operation or an atomic operation that has to be internally
* simulated with multiple single steps.
* crq determines the memory allocation flags.
@@ -1551,7 +1551,7 @@ kcf_alloc_req(crypto_call_req_t *crq)
if (kcr == NULL)
return (NULL);
- /* Copy the whole crypto_call_req struct, as it isn't persistant */
+ /* Copy the whole crypto_call_req struct, as it isn't persistent */
if (crq != NULL)
kcr->kr_callreq = *crq;
else
@@ -1579,7 +1579,7 @@ kcf_next_req(void *next_req_arg, int status)
kcf_provider_desc_t *pd = NULL;
crypto_dual_data_t *ct = NULL;
- /* Stop the processing if an error occured at this step */
+ /* Stop the processing if an error occurred at this step */
if (error != CRYPTO_SUCCESS) {
out:
areq->an_reqarg = next_req->kr_callreq;