Skip to contentSkip to conversation

KVM: selftests: Fix the meta info of test cases in the header comments

PATCH In review Like Xu 2 participants 2 messages Jun 29, 2023

Subsystems (2)
lore
Share & tools
lore

Like Xu

author
#0 lore raw

PATCH 1/1 KVM: selftests: Fix the meta info of test cases in the header comments

From: Like Xu <[email protected]>

Fix test case names (including descriptions) in comments for tsc_scaling_sync and xen_shinfo_test. No functional changes intended.

Fixes e467b0de82b2 ("KVM: x86: Test case for TSC scaling and offset sync")
Fixes 8d4e7e80838f ("KVM: x86: declare Xen HVM shared info capability and add test case")
---
 tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c | 4 ++--
 tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c +2 -2
index 5b669818e39a..cdb214660e0a 100644
@@ -1,10 +1,10 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * svm_vmcall_test
+ * tsc_scaling_sync
  *
  * Copyright © 2021 Amazon.com, Inc. or its affiliates.
  *
- * Xen shared_info / pvclock testing
+ * Test case for TSC scaling and offset sync
  */
 
 #include "test_util.h"
tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c +1 -1
index 05898ad9f4d9..60daee9f3514 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * svm_vmcall_test
+ * xen_shinfo_test
  *
  * Copyright © 2021 Amazon.com, Inc. or its affiliates.
  *

base-commit: 88bb466c9dec4f70d682cf38c685324e7b1b3d60

Signature · 1 line
2.32.0
#1 lore raw
Quoted 18 lines · Like Xu

From: Like Xu <[email protected]>

Fix test case names (including descriptions) in comments for tsc_scaling_sync and xen_shinfo_test. No functional changes intended.

Fixes e467b0de82b2 ("KVM: x86: Test case for TSC scaling and offset sync")
Fixes 8d4e7e80838f ("KVM: x86: declare Xen HVM shared info capability and add test case")
---
 tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c | 4 ++--
 tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c +0 -0
index 5b669818e39a..cdb214660e0a 100644

tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c line 7

Quoted 9 lines
tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c +2 -2
@@ -1,10 +1,10 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * svm_vmcall_test
+ * tsc_scaling_sync
  *
  * Copyright � 2021 Amazon.com, Inc. or its affiliates.
  *
- * Xen shared_info / pvclock testing
+ * Test case for TSC scaling and offset sync

I vote to delete the metadata (but leave the Copyright). IMO it adds zero value, and has a non-zero chance of becoming stale in the future.

Quoted 20 lines
tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c +0 -0
  */
 
 #include "test_util.h"
tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c +1 -1
index 05898ad9f4d9..60daee9f3514 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * svm_vmcall_test
+ * xen_shinfo_test
  *
  * Copyright � 2021 Amazon.com, Inc. or its affiliates.
  *

base-commit: 88bb466c9dec4f70d682cf38c685324e7b1b3d60

Signature · 1 line
2.32.0