mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [PATCH] tee: drivers: rksecure: make ta_uuid static
Date: Mon,  2 Feb 2026 14:24:31 +0100	[thread overview]
Message-ID: <20260202132431.185971-1-m.tretter@pengutronix.de> (raw)

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




             reply	other threads:[~2026-02-02 13:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-02 13:24 Michael Tretter [this message]
2026-02-03 10:39 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260202132431.185971-1-m.tretter@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox