diff options
author | 2025-05-08 22:03:50 -0500 | |
---|---|---|
committer | 2025-05-12 22:15:57 -0700 | |
commit | 1f450730ff39807360e96105adbec1c818905a70 (patch) | |
tree | d3fd9ccad8d8f374567a41a151519605450e779a /samples | |
parent | virt: tdx-guest: Transition to scoped_cond_guard for mutex operations (diff) | |
download | linux-rng-1f450730ff39807360e96105adbec1c818905a70.tar.xz linux-rng-1f450730ff39807360e96105adbec1c818905a70.zip |
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 <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>
Link: https://patch.msgid.link/20250509030350.22363-1-cedric.xing@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/tsm-mr/tsm_mr_sample.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |