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 <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Cedric Xing <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dan Williams <[email protected]>
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)