mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-06 02:24:14 +08:00
selftests: kvm/x86/xen: Replace a comma in the xen_shinfo_test with semicolon
+WARNING: Possible comma where semicolon could be used
+#397: FILE: tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c:700:
++ tmr.type = KVM_XEN_VCPU_ATTR_TYPE_TIMER,
++ vcpu_ioctl(vm, VCPU_ID, KVM_XEN_VCPU_GET_ATTR, &tmr);
Fixes: 25eaeebe71
("KVM: x86/xen: Add self tests for KVM_XEN_HVM_CONFIG_EVTCHN_SEND")
Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20220406063715.55625-4-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
04c975121c
commit
42c35fdc34
@ -702,7 +702,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
case 14:
|
||||
memset(&tmr, 0, sizeof(tmr));
|
||||
tmr.type = KVM_XEN_VCPU_ATTR_TYPE_TIMER,
|
||||
tmr.type = KVM_XEN_VCPU_ATTR_TYPE_TIMER;
|
||||
vcpu_ioctl(vm, VCPU_ID, KVM_XEN_VCPU_GET_ATTR, &tmr);
|
||||
TEST_ASSERT(tmr.u.timer.port == EVTCHN_TIMER,
|
||||
"Timer port not returned");
|
||||
|
Loading…
Reference in New Issue
Block a user