From: Cedric Xing Date: Fri, 9 May 2025 03:03:50 +0000 (-0500) Subject: sample/tsm-mr: Fix missing static for sample_report X-Git-Tag: v6.16-rc1~119^2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f450730ff39807360e96105adbec1c818905a70;p=thirdparty%2Fkernel%2Flinux.git 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 --- 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];