KVM: x86: fix incorrect comparison in trace event
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 13 Feb 2020 17:24:48 +0000 (18:24 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Feb 2020 17:13:44 +0000 (18:13 +0100)
commit147f1a1fe5d7e6b01b8df4d0cbd6f9eaf6b6c73b
tree583b3b2ed0c2b4c4f6977c3e9ccb1b094ba7ec6e
parent463bfeeead97416ad2b141421f51888054dc0e18
KVM: x86: fix incorrect comparison in trace event

The "u" field in the event has three states, -1/0/1.  Using u8 however means that
comparison with -1 will always fail, so change to signed char.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmutrace.h