Skip to content

Commit

Permalink
microblaze: intc: Reformat output
Browse files Browse the repository at this point in the history
A message was using pr_info level output for a message including "ERROR"
which is not really a fatal error.
Remove the 'ERROR' from that message, use pr_warn loglevel and add the
function name to the output to give users a chance to find the culprit
in case the warning triggers.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
Soren Brinkmann authored and Michal Simek committed Jan 8, 2015
1 parent d50466c commit 231856a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/kernel/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static int __init xilinx_intc_of_init(struct device_node *intc,
}

if (intr_mask >> nr_irq)
pr_info(" ERROR: Mismatch in kind-of-intr param\n");
pr_warn("%s: mismatch in kind-of-intr param\n", __func__);

pr_info("%s: num_irq=%d, edge=0x%x\n",
intc->full_name, nr_irq, intr_mask);
Expand Down

0 comments on commit 231856a

Please sign in to comment.