All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] selftests: KVM: Address some bugs caught by clang
@ 2021-09-21 17:11 ` Oliver Upton
  0 siblings, 0 replies; 8+ messages in thread
From: Oliver Upton @ 2021-09-21 17:11 UTC (permalink / raw)
  To: kvm, kvmarm
  Cc: Marc Zyngier, James Morse, Alexandru Elisei, Suzuki K Poulose,
	Paolo Bonzini, Jim Mattson, Sean Christopherson, Andrew Jones,
	Oliver Upton

Building KVM selftests for arm64 using clang throws a couple compiler
warnings. These fixes address a couple of bugs in KVM selftests that
just so happen to also placate the compiler.

Series applies cleanly to 5.15-rc2.

v1 -> v2:
 - Clarify that 1/2 is an actual bugfix, not just an attempt to silence
   clang
 - Adopt Drew's suggested fix, aligning steal_time's SMCCC call with the
   SMC64 convention

Oliver Upton (2):
  selftests: KVM: Fix check for !POLLIN in demand_paging_test
  selftests: KVM: Align SMCCC call with the spec in steal_time

 tools/testing/selftests/kvm/demand_paging_test.c | 2 +-
 tools/testing/selftests/kvm/steal_time.c         | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.33.0.464.g1972c5931b-goog


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

end of thread, other threads:[~2021-09-21 17:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-21 17:11 [PATCH v2 0/2] selftests: KVM: Address some bugs caught by clang Oliver Upton
2021-09-21 17:11 ` Oliver Upton
2021-09-21 17:11 ` [PATCH v2 1/2] selftests: KVM: Fix check for !POLLIN in demand_paging_test Oliver Upton
2021-09-21 17:11   ` Oliver Upton
2021-09-21 17:11 ` [PATCH v2 2/2] selftests: KVM: Align SMCCC call with the spec in steal_time Oliver Upton
2021-09-21 17:11   ` Oliver Upton
2021-09-21 17:23   ` Andrew Jones
2021-09-21 17:23     ` Andrew Jones

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.