* [PATCH] sample/tsm-mr: Fix missing static for sample_report
@ 2025-05-09 3:03 Cedric Xing
2025-05-13 18:38 ` Dan Williams
0 siblings, 1 reply; 2+ messages in thread
From: Cedric Xing @ 2025-05-09 3:03 UTC (permalink / raw)
To: dan.j.williams; +Cc: linux-coco, Cedric Xing
0day robot reports 'sample_report' can be static, fix it up.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505090938.avfIhLsl-lkp@intel.com/
Signed-off-by: Cedric Xing <cedric.xing@intel.com>
---
samples/tsm-mr/tsm_mr_sample.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/tsm-mr/tsm_mr_sample.c b/samples/tsm-mr/tsm_mr_sample.c
index f3e16301de40..a2c652148639 100644
--- a/samples/tsm-mr/tsm_mr_sample.c
+++ b/samples/tsm-mr/tsm_mr_sample.c
@@ -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];
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-13 18:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09 3:03 [PATCH] sample/tsm-mr: Fix missing static for sample_report Cedric Xing
2025-05-13 18:38 ` Dan Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox