diff mbox series

[kvm-unit-tests,RESEND,2/2] x86/pmu: Fix a comment about full-width counter writes support

Message ID 20220302112634.15024-2-likexu@tencent.com (mailing list archive)
State New, archived
Headers show
Series [kvm-unit-tests,RESEND,1/2] x86/pmu: Make "ref cycles" test to pass on the latest cpu | expand

Commit Message

Like Xu March 2, 2022, 11:26 a.m. UTC
From: Like Xu <like.xu@linux.intel.com>

From: Like Xu <like.xu@linux.intel.com>

Remove two Unicode characters 'ZERO WIDTH SPACE' (U+200B).

Fixes: 22f2901a0e ("x86: pmu: Test full-width counter writes support")
Reported-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Like Xu <like.xu@linux.intel.com>
---
 x86/pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jim Mattson March 2, 2022, 5:41 p.m. UTC | #1
On Wed, Mar 2, 2022 at 3:26 AM Like Xu <like.xu.linux@gmail.com> wrote:
>
> From: Like Xu <like.xu@linux.intel.com>
>
> From: Like Xu <like.xu@linux.intel.com>
>
> Remove two Unicode characters 'ZERO WIDTH SPACE' (U+200B).
>
> Fixes: 22f2901a0e ("x86: pmu: Test full-width counter writes support")
> Reported-by: Jim Mattson <jmattson@google.com>
> Signed-off-by: Like Xu <like.xu@linux.intel.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
diff mbox series

Patch

diff --git a/x86/pmu.c b/x86/pmu.c
index 3d05384..052c2b7 100644
--- a/x86/pmu.c
+++ b/x86/pmu.c
@@ -587,7 +587,7 @@  static void  check_gp_counters_write_width(void)
 	}
 
 	/*
-	 * MSR_IA32_PMCn supports writing values ​​up to GP counter width,
+        * MSR_IA32_PMCn supports writing values up to GP counter width,
 	 * and only the lowest bits of GP counter width are valid.
 	 */
 	for (i = 0; i < num_counters; i++) {