Thread (21 messages) 21 messages, 3 authors, 2021-02-03
STALE1997d

[RFC PATCH] ptp: clock_pair_gpa can be static

From: kernel test robot <hidden>
Date: 2020-12-09 10:24:54
Also in: oe-kbuild-all
Subsystem: networking drivers, ptp hardware clock support, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Richard Cochran, Linus Torvalds

Reported-by: kernel test robot <redacted>
Signed-off-by: kernel test robot <redacted>
---
 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)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help