mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] tee: drivers: rksecure: make ta_uuid static
@ 2026-02-02 13:24 Michael Tretter
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2026-02-02 13:25 UTC | newest]

Thread overview: (only message) (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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox