From: kernel test robot <lkp@intel.com>
To: Michael Roth <michael.roth@amd.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Joerg Roedel <jroedel@suse.de>,
Brijesh Singh <brijesh.singh@amd.com>
Subject: [RFC PATCH joro] x86/compressed/64: sev_prep_identity_maps() can be static
Date: Thu, 18 Nov 2021 04:45:20 +0800 [thread overview]
Message-ID: <20211117204520.GA26242@6d6ae136a407> (raw)
In-Reply-To: <202111180417.9qVNN9Gn-lkp@intel.com>
arch/x86/boot/compressed/ident_map_64.c:111:6: warning: symbol 'sev_prep_identity_maps' was not declared. Should it be static?
Fixes: 3ef653bfccaa ("x86/compressed/64: add identity mapping for Confidential Computing blob")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
ident_map_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/boot/compressed/ident_map_64.c b/arch/x86/boot/compressed/ident_map_64.c
index 10ecbc53f8bc2..7087c3e27a6f0 100644
--- a/arch/x86/boot/compressed/ident_map_64.c
+++ b/arch/x86/boot/compressed/ident_map_64.c
@@ -108,7 +108,7 @@ static void add_identity_map(unsigned long start, unsigned long end)
error("Error: kernel_ident_mapping_init() failed\n");
}
-void sev_prep_identity_maps(void)
+static void sev_prep_identity_maps(void)
{
/*
* The ConfidentialComputing blob is used very early in uncompressed
prev parent reply other threads:[~2021-11-17 20:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 20:45 [joro:x86-testing 38/45] arch/x86/boot/compressed/ident_map_64.c:111:6: sparse: sparse: symbol 'sev_prep_identity_maps' was not declared. Should it be static? kernel test robot
2021-11-17 20:45 ` kernel test robot [this message]
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=20211117204520.GA26242@6d6ae136a407 \
--to=lkp@intel.com \
--cc=brijesh.singh@amd.com \
--cc=jroedel@suse.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.roth@amd.com \
/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
all inboxes | Powered by JetHome®