Skip to content

selftests: KVM: Address some bugs caught by clang

Oliver Upton kvm kvmarm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyIn review

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests: KVM: Fix check for !POLLIN in demand_paging_testtools/testing/selftests/kvm/demand_paging_test.c+1 -10 replies
2/2selftests: KVM: Align SMCCC call with the spec in steal_timetools/testing/selftests/kvm/steal_time.c+2 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrew Jones
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] selftests: KVM: Address some bugs caught by clang

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(-)
Signature · 1 line
2.33.0.464.g1972c5931b-goog