From: Zhang Rui <rui.zhang@intel.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Yinghai Lu <yinghai@kernel.org>, Thomas Renninger <trenn@suse.de>
Subject: [PATCH] x86: fix an erroneous debug message
Date: Wed, 16 Nov 2011 10:23:20 +0800 [thread overview]
Message-ID: <1321410200.19828.4.camel@rui> (raw)
[-- Attachment #1: Type: text/plain, Size: 630 bytes --]
Fix an erroneous debug message.
Signed-off-by: Zhang Rui <rui.zhang@intel.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;
}
[-- Attachment #2: fix-1.patch --]
[-- Type: text/x-patch, Size: 761 bytes --]
commit 73291d135bbf4b627bbf0cd99587f0d3fbbc82f4
Author: Zhang Rui <rui.zhang@intel.com>
Date: Wed Nov 16 10:12:56 2011 +0800
Fix a buggy debug messagge.
Signed-off-by: Zhang Rui <rui.zhang@intel.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;
}
next reply other threads:[~2011-11-16 2:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 2:23 Zhang Rui [this message]
2011-11-16 7:04 ` [PATCH] x86: fix an erroneous debug message Yinghai Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1321410200.19828.4.camel@rui \
--to=rui.zhang@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trenn@suse.de \
--cc=yinghai@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).