[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1321410200.19828.4.camel@rui>
Date: Wed, 16 Nov 2011 10:23:20 +0800
From: Zhang Rui <rui.zhang@...el.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Yinghai Lu <yinghai@...nel.org>, Thomas Renninger <trenn@...e.de>
Subject: [PATCH] x86: fix an erroneous debug message
Fix an erroneous debug message.
Signed-off-by: Zhang Rui <rui.zhang@...el.com>
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index 3c31fa9..1a691f5 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -3641,8 +3641,8 @@ int io_apic_set_pci_routing(struct device *dev, int irq,
int node;
if (!IO_APIC_IRQ(irq)) {
- apic_printk(APIC_QUIET,KERN_ERR "IOAPIC[%d]: Invalid reference to IRQ 0\n",
- irq_attr->ioapic);
+ apic_printk(APIC_QUIET,KERN_ERR "IOAPIC[%d]: Invalid reference to IRQ %d\n",
+ irq_attr->ioapic, irq);
return -EINVAL;
}
View attachment "fix-1.patch" of type "text/x-patch" (762 bytes)
Powered by blists - more mailing lists