Skip to contentSkip to conversation

KVM: fix a typo in comment

PATCH In review Guo Chao 2 participants 2 messages Jun 15, 2012 – Jun 28, 2012

Subsystems (3)
lore
Share & tools
lore

Guo Chao

author
#0 lore raw

PATCH 2/2 KVM: fix a typo in comment

---
 arch/x86/kvm/vmx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/vmx.c +1 -1
index f48cef3..7593693 100644
@@ -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.
 	 */
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 11 lines · Guo Chao
---
 arch/x86/kvm/vmx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/vmx.c +0 -0
index f48cef3..7593693 100644

arch/x86/kvm/vmx.c static int vmx_handle_exit(struct kvm_vcpu *vcpu) · line 5886

Quoted 8 lines
arch/x86/kvm/vmx.c +1 -1
@@ -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.