Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Cedric Xing and committed by
Dan Williams
1f450730 7c3f259d

+1 -1
+1 -1
samples/tsm-mr/tsm_mr_sample.c
··· 8 8 #include <linux/miscdevice.h> 9 9 #include <crypto/hash.h> 10 10 11 - struct { 11 + static struct { 12 12 u8 static_mr[SHA384_DIGEST_SIZE]; 13 13 u8 config_mr[SHA512_DIGEST_SIZE]; 14 14 u8 rtmr0[SHA256_DIGEST_SIZE];