Skip to content

Commit

Permalink
sh: intc: Make missing unique IRQ mask warning more verbose.
Browse files Browse the repository at this point in the history
This includes the IRQ number in addition to the vector, as not all
platforms wrap in with INTC_VECT().

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Mar 6, 2009
1 parent 075901a commit f033599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/sh/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,8 @@ static void __init intc_register_irq(struct intc_desc *desc,
primary = 1;

if (!data[0] && !data[1])
pr_warning("intc: missing unique irq mask for 0x%04x\n",
irq2evt(irq));
pr_warning("intc: missing unique irq mask for "
"irq %d (vect 0x%04x)\n", irq, irq2evt(irq));

data[0] = data[0] ? data[0] : intc_mask_data(desc, d, enum_id, 1);
data[1] = data[1] ? data[1] : intc_prio_data(desc, d, enum_id, 1);
Expand Down

0 comments on commit f033599

Please sign in to comment.