aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSoren Brinkmann <soren.brinkmann@xilinx.com>2014-12-19 13:21:06 -0500
committerMichal Simek <michal.simek@xilinx.com>2015-01-08 02:37:24 -0500
commit231856ae7ccb5ee49b2f722e1d8ba7a45df1a978 (patch)
tree76652b0bf729cf6e9ff285b20ab0f6ff83cf4474 /arch
parentd50466c90724d5aae4d38a9a9bc163bea6f94098 (diff)
microblaze: intc: Reformat output
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/kernel/intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/intc.c b/arch/microblaze/kernel/intc.c
index 8965fd379570..719feee1e043 100644
--- a/arch/microblaze/kernel/intc.c
+++ b/arch/microblaze/kernel/intc.c
@@ -158,7 +158,7 @@ static int __init xilinx_intc_of_init(struct device_node *intc,
158 } 158 }
159 159
160 if (intr_mask >> nr_irq) 160 if (intr_mask >> nr_irq)
161 pr_info(" ERROR: Mismatch in kind-of-intr param\n"); 161 pr_warn("%s: mismatch in kind-of-intr param\n", __func__);
162 162
163 pr_info("%s: num_irq=%d, edge=0x%x\n", 163 pr_info("%s: num_irq=%d, edge=0x%x\n",
164 intc->full_name, nr_irq, intr_mask); 164 intc->full_name, nr_irq, intr_mask);