Skip to content

Commit

Permalink
entry_std.c: comment fixes in assign_mobj_to_param_mem()
Browse files Browse the repository at this point in the history
 - removed spaces before "?" in comments
 - Capitalized first letter in first words

Signed-off-by: Volodymyr Babchuk <vlad.babchuk@gmail.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
  • Loading branch information
lorc committed Oct 10, 2017
1 parent d93529c commit b4557ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/arch/arm/tee/entry_std.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit b4557ca

Please sign in to comment.