From: rui guo Date: Thu, 4 Aug 2022 06:08:23 +0000 (+0800) Subject: tdk_linuxdriver: fix typo check [1/1] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=05a99364d7f012d8d928f02ce34d7f85759c273d;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_optee.git tdk_linuxdriver: fix typo check [1/1] PD#SWPL-89635 Problem: typo check Solution: Correct word Verify: Android R Signed-off-by: rui guo Change-Id: I349959d2b42bf6cf260bc4facc9a6f3b101be245 --- diff --git a/optee/optee_smc.h b/optee/optee_smc.h index 47e6db8..7eb6d57 100644 --- a/optee/optee_smc.h +++ b/optee/optee_smc.h @@ -131,7 +131,7 @@ struct optee_smc_calls_revision_result { * optee_msg_arg. * OPTEE_SMC_RETURN_ETHREAD_LIMIT Number of Trusted OS threads exceeded, * try again later. - * OPTEE_SMC_RETURN_EBADADDR Bad physicial pointer to struct + * OPTEE_SMC_RETURN_EBADADDR Bad physical pointer to struct * optee_msg_arg. * OPTEE_SMC_RETURN_EBADCMD Bad/unknown cmd in struct optee_msg_arg * OPTEE_SMC_RETURN_IS_RPC() Call suspended by RPC call to normal diff --git a/optee/supp.c b/optee/supp.c index de1b5f9..50d10fb 100644 --- a/optee/supp.c +++ b/optee/supp.c @@ -176,7 +176,7 @@ static struct optee_supp_req *supp_pop_entry(struct optee_supp *supp, if (supp->req_id != -1) { /* - * Supplicant should not mix synchronous and asnynchronous + * Supplicant should not mix synchronous and asynchronous * requests. */ return ERR_PTR(-EINVAL); @@ -286,7 +286,7 @@ int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params, if (num_meta) { /* - * tee-supplicant support meta parameters -> requsts can be + * tee-supplicant support meta parameters -> requests can be * processed asynchronously. */ param->attr = TEE_IOCTL_PARAM_ATTR_TYPE_VALUE_INOUT | diff --git a/tee_core.c b/tee_core.c index 002bbc4..4c82ebc 100644 --- a/tee_core.c +++ b/tee_core.c @@ -223,7 +223,7 @@ static int params_from_user(struct tee_context *ctx, struct tee_param *params, * object (and increase the ref count) from an * identifier we return an error. All pointers that * has been added in params have an increased ref - * count. It's the callers responibility to do + * count. It's the callers responsibility to do * tee_shm_put() on all resolved pointers. */ shm = tee_shm_get_from_id(ctx, ip.c);