From b4557caf203220099d76f76d9752deda27407435 Mon Sep 17 00:00:00 2001 From: Volodymyr Babchuk Date: Wed, 5 Jul 2017 00:00:22 +0300 Subject: [PATCH] entry_std.c: comment fixes in assign_mobj_to_param_mem() - removed spaces before "?" in comments - Capitalized first letter in first words Signed-off-by: Volodymyr Babchuk Reviewed-by: Jens Wiklander Reviewed-by: Etienne Carriere --- core/arch/arm/tee/entry_std.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/arch/arm/tee/entry_std.c b/core/arch/arm/tee/entry_std.c index 38be52d8b61..00c368457fe 100644 --- a/core/arch/arm/tee/entry_std.c +++ b/core/arch/arm/tee/entry_std.c @@ -81,7 +81,7 @@ static TEE_Result assign_mobj_to_param_mem(const paddr_t pa, const size_t sz, { struct mobj __maybe_unused **mobj; - /* NULL Memory Rerefence ? */ + /* NULL Memory Rerefence? */ if (!pa && !sz) { mem->mobj = NULL; mem->offs = 0; @@ -100,12 +100,12 @@ static TEE_Result assign_mobj_to_param_mem(const paddr_t pa, const size_t sz, return TEE_SUCCESS; } - /* belongs to nonsecure shared memory ? */ + /* Belongs to nonsecure shared memory? */ if (param_mem_from_mobj(mem, shm_mobj, pa, sz)) return TEE_SUCCESS; #ifdef CFG_SECURE_DATA_PATH - /* belongs to SDP memories ? */ + /* Belongs to SDP memories? */ for (mobj = sdp_mem_mobjs; *mobj; mobj++) if (param_mem_from_mobj(mem, *mobj, pa, sz)) return TEE_SUCCESS;