[PATCH] x86: fix format in do_IRQ()

From: Richard Weinberger
Date: Fri Oct 07 2011 - 16:04:36 EST

irq and vector are of type unsigned int, use %u instead of %d.

Signed-off-by: Richard Weinberger <richard@xxxxxx>
arch/x86/kernel/irq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 6c0802e..7429a4a 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -189,7 +189,7 @@ unsigned int __irq_entry do_IRQ(struct pt_regs *regs)

if (printk_ratelimit())
- pr_emerg("%s: %d.%d No irq handler for vector (irq %d)\n",
+ pr_emerg("%s: %d.%u No irq handler for vector (irq %u)\n",
__func__, smp_processor_id(), vector, irq);


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