From 1f450730ff39807360e96105adbec1c818905a70 Mon Sep 17 00:00:00 2001 From: Cedric Xing Date: Thu, 8 May 2025 22:03:50 -0500 Subject: [PATCH] sample/tsm-mr: Fix missing static for sample_report 0day robot reports 'sample_report' can be static, fix it up. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202505090938.avfIhLsl-lkp@intel.com/ Signed-off-by: Cedric Xing Link: https://patch.msgid.link/20250509030350.22363-1-cedric.xing@intel.com Signed-off-by: Dan Williams --- 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 f3e16301de402..a2c6521486394 100644 --- a/samples/tsm-mr/tsm_mr_sample.c +++ b/samples/tsm-mr/tsm_mr_sample.c @@ -8,7 +8,7 @@ #include #include -struct { +static struct { u8 static_mr[SHA384_DIGEST_SIZE]; u8 config_mr[SHA512_DIGEST_SIZE]; u8 rtmr0[SHA256_DIGEST_SIZE]; -- 2.47.2