Jan Beulich
2012-Apr-17 12:51 UTC
[PATCH] x86/IO-APIC: adjust an otherwise pretty useless message
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/arch/x86/io_apic.c
+++ b/xen/arch/x86/io_apic.c
@@ -2164,8 +2164,8 @@ int io_apic_set_pci_routing (int ioapic,
int vector;
if (!IO_APIC_IRQ(irq)) {
- printk(KERN_ERR "IOAPIC[%d]: Invalid reference to IRQ 0\n",
- ioapic);
+ printk(KERN_ERR "IOAPIC[%d]: Invalid reference to IRQ %d\n",
+ ioapic, irq);
return -EINVAL;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
Keir Fraser
2012-Apr-17 13:09 UTC
Re: [PATCH] x86/IO-APIC: adjust an otherwise pretty useless message
On 17/04/2012 13:51, "Jan Beulich" <JBeulich@suse.com> wrote:> Signed-off-by: Jan Beulich <jbeulich@suse.com>Acked-by: Keir Fraser <keir@xen.org>> --- a/xen/arch/x86/io_apic.c > +++ b/xen/arch/x86/io_apic.c > @@ -2164,8 +2164,8 @@ int io_apic_set_pci_routing (int ioapic, > int vector; > > if (!IO_APIC_IRQ(irq)) { > - printk(KERN_ERR "IOAPIC[%d]: Invalid reference to IRQ 0\n", > - ioapic); > + printk(KERN_ERR "IOAPIC[%d]: Invalid reference to IRQ %d\n", > + ioapic, irq); > return -EINVAL; > } > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel