All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] [TRIVIAL]KVM: fix a typo in comment
@ 2012-06-15  3:34 Guo Chao
  2012-06-28  1:00 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Guo Chao @ 2012-06-15  3:34 UTC (permalink / raw)
  To: avi; +Cc: kvm


Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com>
---
 arch/x86/kvm/vmx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index f48cef3..7593693 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -5880,7 +5880,7 @@ static int vmx_handle_exit(struct kvm_vcpu *vcpu)
 		return handle_invalid_guest_state(vcpu);
 
 	/*
-	 * the KVM_REQ_EVENT optimization bit is only on for one entry, and if
+	 * The KVM_REQ_EVENT optimization bit is only on for one entry, and if
 	 * we did not inject a still-pending event to L1 now because of
 	 * nested_run_pending, we need to re-enable this bit.
 	 */
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] [TRIVIAL]KVM: fix a typo in comment
  2012-06-15  3:34 [PATCH 2/2] [TRIVIAL]KVM: fix a typo in comment Guo Chao
@ 2012-06-28  1:00 ` Marcelo Tosatti
  0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2012-06-28  1:00 UTC (permalink / raw)
  To: Guo Chao; +Cc: avi, kvm


On Fri, Jun 15, 2012 at 11:34:31AM +0800, Guo Chao wrote:
> 
> Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com>
> ---
>  arch/x86/kvm/vmx.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
> index f48cef3..7593693 100644
> --- a/arch/x86/kvm/vmx.c
> +++ b/arch/x86/kvm/vmx.c
> @@ -5880,7 +5880,7 @@ static int vmx_handle_exit(struct kvm_vcpu *vcpu)
>  		return handle_invalid_guest_state(vcpu);
>  
>  	/*
> -	 * the KVM_REQ_EVENT optimization bit is only on for one entry, and if
> +	 * The KVM_REQ_EVENT optimization bit is only on for one entry, and if
>  	 * we did not inject a still-pending event to L1 now because of
>  	 * nested_run_pending, we need to re-enable this bit.
>  	 */

There is no rule about comments in code starting with uppercase.

Patches to correct spelling would be accepted.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-28  1:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-15  3:34 [PATCH 2/2] [TRIVIAL]KVM: fix a typo in comment Guo Chao
2012-06-28  1:00 ` Marcelo Tosatti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.