Messages in this thread Patch in this message | | | From | Kefeng Wang <> | Subject | [PATCH 2/7] irq: fix checkpatch error | Date | Thu, 6 Jun 2013 19:20:26 +0800 |
| |
Change printk(KERN_WARNING ... to pr_warn(... Fix ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: Kefeng Wang <wangkefeng.wang@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
| |