diff mbox series

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

Message ID 20230629142633.86034-1-likexu@tencent.com (mailing list archive)
State New, archived
Headers show
Series KVM: selftests: Fix the meta info of test cases in the header comments | expand

Commit Message

Like Xu June 29, 2023, 2:26 p.m. UTC
From: Like Xu <likexu@tencent.com>

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")
Signed-off-by: Like Xu <likexu@tencent.com>
---
 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(-)


base-commit: 88bb466c9dec4f70d682cf38c685324e7b1b3d60

Comments

Sean Christopherson June 29, 2023, 3:55 p.m. UTC | #1
On Thu, Jun 29, 2023, Like Xu wrote:
> From: Like Xu <likexu@tencent.com>
> 
> 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")
> Signed-off-by: Like Xu <likexu@tencent.com>
> ---
>  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(-)
> 
> diff --git a/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c b/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c
> index 5b669818e39a..cdb214660e0a 100644
> --- a/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c
> +++ b/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c
> @@ -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.

>   */
>  
>  #include "test_util.h"
> diff --git a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
> index 05898ad9f4d9..60daee9f3514 100644
> --- a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
> +++ b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
> @@ -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
> -- 
> 2.32.0
>
diff mbox series

Patch

diff --git a/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c b/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c
index 5b669818e39a..cdb214660e0a 100644
--- a/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c
+++ b/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c
@@ -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"
diff --git a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
index 05898ad9f4d9..60daee9f3514 100644
--- a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
+++ b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
@@ -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.
  *