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] [day] [month] [year] [list]
Message-ID: <20210902041720.GA47763@e994d071fa58>
Date:   Thu, 2 Sep 2021 12:17:21 +0800
From:   kernel test robot <lkp@...el.com>
To:     Andi Kleen <ak@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Kuppuswamy Sathyanarayanan 
        <sathyanarayanan.kuppuswamy@...ux.intel.com>
Subject: [RFC PATCH intel-tdx] x86/tdx: x86_disable_prot can be static

arch/x86/kernel/cpu/intel.c:66:14: warning: symbol 'x86_disable_prot' was not declared. Should it be static?

Fixes: 88ae938a9403 ("x86/tdx: Add option to override prot values")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
 intel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c
index d2b3527b2c71a..187bea52363b7 100644
--- a/arch/x86/kernel/cpu/intel.c
+++ b/arch/x86/kernel/cpu/intel.c
@@ -63,7 +63,7 @@ static bool cpu_model_supports_sld __ro_after_init;
 
 #ifdef CONFIG_ARCH_HAS_PROTECTED_GUEST
 
-unsigned int x86_disable_prot = -1;
+static unsigned int x86_disable_prot = -1;
 
 static int __init x86_prot_clear_setup(char *arg)
 {

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ