Change printk(KERN_WARNING ... to pr_warn(... Fix ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> --- kernel/irq/handle.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 131ca17..07a1c15 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c @@ -47,7 +47,7 @@ static void warn_no_thread(unsigned int irq, struct irqaction *action) if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) return; - printk(KERN_WARNING "IRQ %d device %s returned IRQ_WAKE_THREAD " + pr_warn("IRQ %d device %s returned IRQ_WAKE_THREAD " "but no thread function available.", irq, action->name); } @@ -142,8 +142,9 @@ handle_irq_event_percpu(struct irq_desc *desc, struct irqaction *action) res = action->handler(irq, action->dev_id); trace_irq_handler_exit(irq, action, res); - if (WARN_ONCE(!irqs_disabled(),"irq %u handler %pF enabled interrupts\n", - irq, action->handler)) + if (WARN_ONCE(!irqs_disabled(), + "irq %u handler %pF enabled interrupts\n", + irq, action->handler)) local_irq_disable(); switch (res) { -- 1.8.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/