diff mbox

KVM: x86: fix typo at kvm_arch_hardware_setup comment

Message ID 20180611171210.GA29612@amt.cnet (mailing list archive)
State New, archived
Headers show

Commit Message

Marcelo Tosatti June 11, 2018, 5:12 p.m. UTC
Fix typo in sentence about min value calculation. 

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Comments

Paolo Bonzini June 13, 2018, 4:51 p.m. UTC | #1
On 11/06/2018 19:12, Marcelo Tosatti wrote:
> 
> Fix typo in sentence about min value calculation. 
> 
> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
> 
> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
> index b7618b3..f3b2986 100644
> --- a/arch/x86/kvm/x86.c
> +++ b/arch/x86/kvm/x86.c
> @@ -8543,7 +8543,7 @@ int kvm_arch_hardware_setup(void)
>  		/*
>  		 * Make sure the user can only configure tsc_khz values that
>  		 * fit into a signed integer.
> -		 * A min value is not calculated needed because it will always
> +		 * A min value is not calculated because it will always
>  		 * be 1 on all machines.
>  		 */
>  		u64 max = min(0x7fffffffULL,
> 

Queued, thanks.

Paolo
diff mbox

Patch

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index b7618b3..f3b2986 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -8543,7 +8543,7 @@  int kvm_arch_hardware_setup(void)
 		/*
 		 * Make sure the user can only configure tsc_khz values that
 		 * fit into a signed integer.
-		 * A min value is not calculated needed because it will always
+		 * A min value is not calculated because it will always
 		 * be 1 on all machines.
 		 */
 		u64 max = min(0x7fffffffULL,