OSDN Git Service

microblaze: intc: Reformat output
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Fri, 19 Dec 2014 18:21:06 +0000 (10:21 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 8 Jan 2015 07:37:24 +0000 (08:37 +0100)
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>
arch/microblaze/kernel/intc.c

index 8965fd3..719feee 100644 (file)
@@ -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);