* [PATCH] tee: drivers: rksecure: make ta_uuid static
@ 2026-02-02 13:24 Michael Tretter
2026-02-03 10:39 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Michael Tretter @ 2026-02-02 13:24 UTC (permalink / raw)
To: barebox; +Cc: Michael Tretter
The ta_uuid should be only visible in the rksecure.c file. Otherwise,
other TEE drivers cannot use the ta_uuid name to store the UUID of the
TA they are trying to use.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
drivers/tee/optee/rksecure.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tee/optee/rksecure.c b/drivers/tee/optee/rksecure.c
index 408547dab322..e16f5c088224 100644
--- a/drivers/tee/optee/rksecure.c
+++ b/drivers/tee/optee/rksecure.c
@@ -13,7 +13,7 @@
#include "optee_private.h"
#include "pta_rk_secure_boot.h"
-const uuid_t ta_uuid = PTA_RK_SECURE_BOOT_UUID;
+static const uuid_t ta_uuid = PTA_RK_SECURE_BOOT_UUID;
static int optee_ctx_match(struct tee_ioctl_version_data *ver, const void *data)
{
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-03 10:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-02 13:24 [PATCH] tee: drivers: rksecure: make ta_uuid static Michael Tretter
2026-02-03 10:39 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox