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  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, 9 Dec 2020 18:23:22 +0800
From:   kernel test robot <>
To:     Jianyong Wu <>,,,,,,,,,,
Subject: [RFC PATCH] ptp: clock_pair_gpa can be static

Reported-by: kernel test robot <>
Signed-off-by: kernel test robot <>
 ptp_kvm_x86.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ptp/ptp_kvm_x86.c b/drivers/ptp/ptp_kvm_x86.c
index e011d691e549a7..19cad4c0297265 100644
--- a/drivers/ptp/ptp_kvm_x86.c
+++ b/drivers/ptp/ptp_kvm_x86.c
@@ -15,8 +15,8 @@
 #include <linux/ptp_clock_kernel.h>
 #include <linux/ptp_kvm.h>
-phys_addr_t clock_pair_gpa;
-struct kvm_clock_pairing clock_pair;
+static phys_addr_t clock_pair_gpa;
+static struct kvm_clock_pairing clock_pair;
 struct pvclock_vsyscall_time_info *hv_clock;
 int kvm_arch_ptp_init(void)

Powered by blists - more mailing lists