Skip to contentSkip to conversation

sample/tsm-mr: Fix missing static for sample_report

PATCH In review Cedric Xing 2 participants 2 messages May 9, 2025 – May 13, 2025 Trusted execution environment security manager (tsm)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sample/tsm-mr: Fix missing static for sample_report

0day robot reports 'sample_report' can be static, fix it up.

---
 samples/tsm-mr/tsm_mr_sample.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
samples/tsm-mr/tsm_mr_sample.c +1 -1
index f3e16301de40..a2c652148639 100644
@@ -8,7 +8,7 @@
 #include <linux/miscdevice.h>
 #include <crypto/hash.h>
 
-struct {
+static struct {
 	u8 static_mr[SHA384_DIGEST_SIZE];
 	u8 config_mr[SHA512_DIGEST_SIZE];
 	u8 rtmr0[SHA256_DIGEST_SIZE];
Signature · 1 line
2.43.0