Skip to content

Commit

Permalink
core: kernel: tee_ta_manager.c: add uuid in open session error trace
Browse files Browse the repository at this point in the history
Adds the TA UUID in open session error trace to allow to identify
witch TA cause the issue when debug trace are not acitvated.

By the way, fix specifier for res argument that is a uint32_t.

Reviewed-by: Jens Wiklander <[email protected]>
Signed-off-by: Patrick Delaunay <[email protected]>
Signed-off-by: Etienne Carriere <[email protected]>
  • Loading branch information
patrickdelaunay authored and etienne-lms committed Nov 20, 2023
1 parent 305e38d commit 21b1fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/kernel/tee_ta_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ TEE_Result tee_ta_open_session(TEE_ErrorOrigin *err,
if (!res)
*sess = s;
else
EMSG("Failed. Return error 0x%x", res);
EMSG("Failed for TA %pUl. Return error %#"PRIx32, uuid, res);

return res;
}
Expand Down

0 comments on commit 21b1fd4

Please sign in to comment.