Skip to content

Commit 1f45073

Browse files
binxingdjbw
authored andcommitted
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>
1 parent 7c3f259 commit 1f45073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/tsm-mr/tsm_mr_sample.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <linux/miscdevice.h>
99
#include <crypto/hash.h>
1010

11-
struct {
11+
static struct {
1212
u8 static_mr[SHA384_DIGEST_SIZE];
1313
u8 config_mr[SHA512_DIGEST_SIZE];
1414
u8 rtmr0[SHA256_DIGEST_SIZE];

0 commit comments

Comments
 (0)