Skip to content

Commit

Permalink
entry_std.c: comment fixes:
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 <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
Reviewed-by: Etienne Carriere <[email protected]>
  • Loading branch information
lorc committed Sep 20, 2017
1 parent 2cce964 commit 060549c
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 060549c

Please sign in to comment.