Subject: [RFC PATCH] ptp: clock_pair_gpa can be static

From: kernel test robot <[email-masked]>
Date: Wed, 9 Dec 2020 18:23:22 +0800

Reported-by: kernel test robot <[email-masked]>
Signed-off-by: kernel test robot <[email-masked]>
---
 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)