diff mbox

KVM: ARM: Fix typo in comments of inject_abt()

Message ID 1378904662-29521-1-git-send-email-anup.patel@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Anup Patel Sept. 11, 2013, 1:04 p.m. UTC
Very minor typo in comments of inject_abt() when we update fault status
register for injecting prefetch abort.

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
---
 arch/arm/kvm/emulate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christoffer Dall Sept. 11, 2013, 5:51 p.m. UTC | #1
On Wed, Sep 11, 2013 at 06:34:22PM +0530, Anup Patel wrote:
> Very minor typo in comments of inject_abt() when we update fault status
> register for injecting prefetch abort.
> 
> Signed-off-by: Anup Patel <anup.patel@linaro.org>
> Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
> ---
>  arch/arm/kvm/emulate.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/kvm/emulate.c b/arch/arm/kvm/emulate.c
> index bdede9e..d6c0052 100644
> --- a/arch/arm/kvm/emulate.c
> +++ b/arch/arm/kvm/emulate.c
> @@ -354,7 +354,7 @@ static void inject_abt(struct kvm_vcpu *vcpu, bool is_pabt, unsigned long addr)
>  	*vcpu_pc(vcpu) = exc_vector_base(vcpu) + vect_offset;
>  
>  	if (is_pabt) {
> -		/* Set DFAR and DFSR */
> +		/* Set IFAR and IFSR */
>  		vcpu->arch.cp15[c6_IFAR] = addr;
>  		is_lpae = (vcpu->arch.cp15[c2_TTBCR] >> 31);
>  		/* Always give debug fault for now - should give guest a clue */
> -- 
> 1.7.9.5
> 
Thanks, applied.
diff mbox

Patch

diff --git a/arch/arm/kvm/emulate.c b/arch/arm/kvm/emulate.c
index bdede9e..d6c0052 100644
--- a/arch/arm/kvm/emulate.c
+++ b/arch/arm/kvm/emulate.c
@@ -354,7 +354,7 @@  static void inject_abt(struct kvm_vcpu *vcpu, bool is_pabt, unsigned long addr)
 	*vcpu_pc(vcpu) = exc_vector_base(vcpu) + vect_offset;
 
 	if (is_pabt) {
-		/* Set DFAR and DFSR */
+		/* Set IFAR and IFSR */
 		vcpu->arch.cp15[c6_IFAR] = addr;
 		is_lpae = (vcpu->arch.cp15[c2_TTBCR] >> 31);
 		/* Always give debug fault for now - should give guest a clue */