sample/tsm-mr: Fix missing static for sample_report
PATCH 1/1 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]>
Signed-off-by Cedric Xing <[email protected]>
--- samples/tsm-mr/tsm_mr_sample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
samples/tsm-mr/tsm_mr_sample.c +1 -1
@@ -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];
Signature · 1 line
2.43.0
Quoted 5 lines · Cedric Xing
0day robot reports '
sample_report' can be static, fix it up.Reported-by kernel test robot <[email protected]>Signed-off-by Cedric Xing <[email protected]>
Looks good, applied.