On Tue, Aug 06, 2019 at 03:08:11PM +0200, Jan Beulich wrote: > The blank line between it and the prior if() clearly indicates that this > was meant to be a standalone if(). > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Acked-by: Brian Woods <brian.wo...@amd.com> > --- > v5: New. > > --- a/xen/drivers/passthrough/amd/pci_amd_iommu.c > +++ b/xen/drivers/passthrough/amd/pci_amd_iommu.c > @@ -166,8 +166,8 @@ static int __init iov_detect(void) > if ( !iommu_enable && !iommu_intremap ) > return 0; > - else if ( (init_done ? amd_iommu_init_interrupt() > - : amd_iommu_init(false)) != 0 ) > + if ( (init_done ? amd_iommu_init_interrupt() > + : amd_iommu_init(false)) != 0 ) > { > printk("AMD-Vi: Error initialization\n"); > return -ENODEV; > -- Brian Woods _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel