提交 231856ae 编写于 作者: S Soren Brinkmann 提交者: Michal Simek

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: NSoren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 d50466c9
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部