Skip to contentSkip to conversation

Clang compilation fixes

PATCH Superseded Bill Wendling 1 participant 1 message Oct 15, 2019 KVM

lore
Share & tools
lore
#0 lore raw

v2 cover Clang compilation fixes

The attached patches have fixes for clang compilation and some failures seen from the previous "report()" fix.

The first, changing the "report()" function to accept an "enum status" instead of "unsigned pass" is under discussion, with others making alternative suggestions. I add the patch here for completeness, but you may want to wait until the discussion has settled.

The second, using "less than" to compare two global objects' addresses for inequality, should be less controversial.

This replaces the previous two patches I sent. I apologize for the spammage.

[kvm-unit-tests PATCH 1/2] Use a status enum for reporting pass/fail [kvm-unit-tests PATCH 2/2] x86: use pointer for end of exception table

Bill Wendling (2):
lib: use a status enum for reporting pass/fail
x86: don't compare two global objects' addrs for inequality

 lib/libcflat.h | 13 +++++++++++--
 lib/report.c   | 24 ++++++++++++------------
 lib/x86/desc.c |  2 +-
 3 files changed, 24 insertions(+), 15 deletions(-)
Signature · 1 line
2.23.0.700.g56cf767bdb-goog