[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201209102322.GA48751@21f297abc363>
Date: Wed, 9 Dec 2020 18:23:22 +0800
From: kernel test robot <lkp@...el.com>
To: Jianyong Wu <jianyong.wu@....com>, netdev@...r.kernel.org,
yangbo.lu@....com, john.stultz@...aro.org, tglx@...utronix.de,
pbonzini@...hat.com, sean.j.christopherson@...el.com,
maz@...nel.org, richardcochran@...il.com, Mark.Rutland@....com,
will@...nel.org
Cc: kbuild-all@...ts.01.org
Subject: [RFC PATCH] ptp: clock_pair_gpa can be static
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
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