From 21b1fd492591cd7ee84864ea3effa52ed4ecdd9b Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Tue, 10 May 2022 10:03:47 +0200 Subject: [PATCH] core: kernel: tee_ta_manager.c: add uuid in open session error trace 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 Signed-off-by: Patrick Delaunay Signed-off-by: Etienne Carriere --- core/kernel/tee_ta_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/kernel/tee_ta_manager.c b/core/kernel/tee_ta_manager.c index 97dee430c30..645eaefe601 100644 --- a/core/kernel/tee_ta_manager.c +++ b/core/kernel/tee_ta_manager.c @@ -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; }