All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH] x86: kvmclock: Fix a non-prototype function declaration
@ 2022-07-22 23:01 Jim Mattson
  2022-08-03 12:39 ` Jim Mattson
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Mattson @ 2022-07-22 23:01 UTC (permalink / raw)
  To: kvm, pbonzini; +Cc: Jim Mattson

Avoid a -Wstrict-prototypes clang warning.

Signed-off-by: Jim Mattson <jmattson@google.com>
---
 x86/kvmclock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/kvmclock.c b/x86/kvmclock.c
index f190048c9bde..f9f21032fea9 100644
--- a/x86/kvmclock.c
+++ b/x86/kvmclock.c
@@ -222,7 +222,7 @@ static cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src)
 	return ret;
 }
 
-cycle_t kvm_clock_read()
+cycle_t kvm_clock_read(void)
 {
         struct pvclock_vcpu_time_info *src;
         cycle_t ret;
-- 
2.37.1.359.gd136c6c3e2-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-03 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-22 23:01 [kvm-unit-tests PATCH] x86: kvmclock: Fix a non-prototype function declaration Jim Mattson
2022-08-03 12:39 ` Jim Mattson
2022-08-03 16:00   ` Sean Christopherson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.