lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 1 Jan 2020 06:26:46 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Yang Weijiang <weijiang.yang@...el.com>
Cc:     kbuild-all@...ts.01.org, kvm@...r.kernel.org,
        linux-kernel@...r.kernel.org, pbonzini@...hat.com,
        jmattson@...gle.com, sean.j.christopherson@...el.com,
        yu.c.zhang@...ux.intel.com, alazar@...defender.com,
        edwin.zhai@...el.com, Yang Weijiang <weijiang.yang@...el.com>
Subject: [RFC PATCH] mmu: spp: is_spp_protected() can be static


Fixes: aacd4e33a5dd ("mmu: spp: Enable Lazy mode SPP protection")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
 spp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/mmu/spp.c b/arch/x86/kvm/mmu/spp.c
index a5b881f438b1f..6b0317edf0b08 100644
--- a/arch/x86/kvm/mmu/spp.c
+++ b/arch/x86/kvm/mmu/spp.c
@@ -571,7 +571,7 @@ inline u64 construct_spptp(unsigned long root_hpa)
 }
 EXPORT_SYMBOL_GPL(construct_spptp);
 
-bool is_spp_protected(struct kvm_memory_slot *slot, gfn_t gfn, int level)
+static bool is_spp_protected(struct kvm_memory_slot *slot, gfn_t gfn, int level)
 {
 	int page_num = KVM_PAGES_PER_HPAGE(level);
 	u32 *access;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ