Linux Confidential Computing Development
 help / color / mirror / Atom feed
From: Cedric Xing <cedric.xing@intel.com>
To: dan.j.williams@intel.com
Cc: linux-coco@lists.linux.dev, Cedric Xing <cedric.xing@intel.com>
Subject: [PATCH] sample/tsm-mr: Fix missing static for sample_report
Date: Thu,  8 May 2025 22:03:50 -0500	[thread overview]
Message-ID: <20250509030350.22363-1-cedric.xing@intel.com> (raw)

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>
---
 samples/tsm-mr/tsm_mr_sample.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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];
-- 
2.43.0


             reply	other threads:[~2025-05-09  3:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-09  3:03 Cedric Xing [this message]
2025-05-13 18:38 ` [PATCH] sample/tsm-mr: Fix missing static for sample_report Dan Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250509030350.22363-1-cedric.xing@intel.com \
    --to=cedric.xing@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=linux-coco@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox