From: Quentin Perret <qperret@google.com> To: kvmarm@lists.cs.columbia.edu Cc: maz@kernel.org, will@kernel.org, kbuild-all@lists.01.org Subject: [PATCH 2/2] KVM: arm64: Mark the host stage-2 memory pools static Date: Fri, 14 May 2021 08:56:40 +0000 [thread overview] Message-ID: <20210514085640.3917886-3-qperret@google.com> (raw) In-Reply-To: <20210514085640.3917886-1-qperret@google.com> The host stage-2 memory pools are not used outside of mem_protect.c, mark them static. Fixes: 1025c8c0c6ac ("KVM: arm64: Wrap the host with a stage 2") Reported-by: Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Quentin Perret <qperret@google.com> --- arch/arm64/kvm/hyp/nvhe/mem_protect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kvm/hyp/nvhe/mem_protect.c b/arch/arm64/kvm/hyp/nvhe/mem_protect.c index e342f7f4f4fb..4b60c0056c04 100644 --- a/arch/arm64/kvm/hyp/nvhe/mem_protect.c +++ b/arch/arm64/kvm/hyp/nvhe/mem_protect.c @@ -23,8 +23,8 @@ extern unsigned long hyp_nr_cpus; struct host_kvm host_kvm; -struct hyp_pool host_s2_mem; -struct hyp_pool host_s2_dev; +static struct hyp_pool host_s2_mem; +static struct hyp_pool host_s2_dev; /* * Copies of the host's CPU features registers holding sanitized values. -- 2.31.1.751.gd2f1c929bd-goog _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
WARNING: multiple messages have this Message-ID (diff)
From: Quentin Perret <qperret@google.com> To: kbuild-all@lists.01.org Subject: [PATCH 2/2] KVM: arm64: Mark the host stage-2 memory pools static Date: Fri, 14 May 2021 08:56:40 +0000 [thread overview] Message-ID: <20210514085640.3917886-3-qperret@google.com> (raw) In-Reply-To: <20210514085640.3917886-1-qperret@google.com> [-- Attachment #1: Type: text/plain, Size: 940 bytes --] The host stage-2 memory pools are not used outside of mem_protect.c, mark them static. Fixes: 1025c8c0c6ac ("KVM: arm64: Wrap the host with a stage 2") Reported-by: Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Quentin Perret <qperret@google.com> --- arch/arm64/kvm/hyp/nvhe/mem_protect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kvm/hyp/nvhe/mem_protect.c b/arch/arm64/kvm/hyp/nvhe/mem_protect.c index e342f7f4f4fb..4b60c0056c04 100644 --- a/arch/arm64/kvm/hyp/nvhe/mem_protect.c +++ b/arch/arm64/kvm/hyp/nvhe/mem_protect.c @@ -23,8 +23,8 @@ extern unsigned long hyp_nr_cpus; struct host_kvm host_kvm; -struct hyp_pool host_s2_mem; -struct hyp_pool host_s2_dev; +static struct hyp_pool host_s2_mem; +static struct hyp_pool host_s2_dev; /* * Copies of the host's CPU features registers holding sanitized values. -- 2.31.1.751.gd2f1c929bd-goog
next prev parent reply other threads:[~2021-05-14 8:56 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-14 8:56 [PATCH 0/2] KVM: arm64: Mark a couple of variables static Quentin Perret 2021-05-14 8:56 ` Quentin Perret 2021-05-14 8:56 ` [PATCH 1/2] KVM: arm64: Mark pkvm_pgtable_mm_ops static Quentin Perret 2021-05-14 8:56 ` Quentin Perret 2021-05-14 8:56 ` Quentin Perret [this message] 2021-05-14 8:56 ` [PATCH 2/2] KVM: arm64: Mark the host stage-2 memory pools static Quentin Perret 2021-05-14 10:09 ` Will Deacon 2021-05-14 10:09 ` Will Deacon 2021-05-14 10:12 ` Marc Zyngier 2021-05-14 10:12 ` Marc Zyngier 2021-05-14 9:33 ` [PATCH 0/2] KVM: arm64: Mark a couple of variables static Marc Zyngier 2021-05-14 9:33 ` Marc Zyngier
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=20210514085640.3917886-3-qperret@google.com \ --to=qperret@google.com \ --cc=kbuild-all@lists.01.org \ --cc=kvmarm@lists.cs.columbia.edu \ --cc=maz@kernel.org \ --cc=will@kernel.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.