ia64/xen-unstable

changeset 19059:0ab2b283e892

passthrough: fix typo

The indentation level of the following code was incidentally
changed when event_lock was added to protect dpci.
It causes no issue but does look a little weird, so fix it.

Signed-off-by: Qing He <qing.he@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jan 20 13:22:28 2009 +0000 (2009-01-20)
parents 8df3c145923f
children fb0dc8143932
files xen/drivers/passthrough/io.c
line diff
     1.1 --- a/xen/drivers/passthrough/io.c	Mon Jan 19 17:40:28 2009 +0000
     1.2 +++ b/xen/drivers/passthrough/io.c	Tue Jan 20 13:22:28 2009 +0000
     1.3 @@ -84,13 +84,13 @@ int pt_irq_create_bind_vtd(
     1.4          memset(hvm_irq_dpci, 0, sizeof(*hvm_irq_dpci));
     1.5          for ( int i = 0; i < NR_IRQS; i++ )
     1.6              INIT_LIST_HEAD(&hvm_irq_dpci->mirq[i].digl_list);
     1.7 -    }
     1.8  
     1.9 -    if ( domain_set_irq_dpci(d, hvm_irq_dpci) == 0 )
    1.10 -    {
    1.11 -        xfree(hvm_irq_dpci);
    1.12 -        spin_unlock(&d->event_lock);
    1.13 -        return -EINVAL;
    1.14 +        if ( domain_set_irq_dpci(d, hvm_irq_dpci) == 0 )
    1.15 +        {
    1.16 +            xfree(hvm_irq_dpci);
    1.17 +            spin_unlock(&d->event_lock);
    1.18 +            return -EINVAL;
    1.19 +        }
    1.20      }
    1.21  
    1.22      if ( pt_irq_bind->irq_type == PT_IRQ_TYPE_MSI )