lkml.org 
[lkml]   [2011]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] x86: fix an erroneous debug message
From
On Tue, Nov 15, 2011 at 6:23 PM, Zhang Rui <rui.zhang@intel.com> wrote:
> 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;
>        }


Acked-by: Yinghai Lu <yinghai@kernel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-11-16 08:07    [W:0.039 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site