]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
irq: tsk->comm is an array
authorAlan Cox <alan@linux.intel.com>
Fri, 9 Nov 2012 03:03:49 +0000 (14:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Nov 2012 04:15:16 +0000 (15:15 +1100)
The array check is useless so remove it.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/irq/manage.c

index 4c69326aa773f6469b7170d66814d7480ea12ea7..ea39714624ec0dd2ff8ddca0b258f10a92d22fbd 100644 (file)
@@ -792,8 +792,9 @@ static void irq_thread_dtor(struct callback_head *unused)
 
        action = kthread_data(tsk);
 
+       /* FIXME: locking */
        pr_err("exiting task \"%s\" (%d) is an active IRQ thread (irq %d)\n",
-              tsk->comm ? tsk->comm : "", tsk->pid, action->irq);
+              tsk->comm, tsk->pid, action->irq);
 
 
        desc = irq_to_desc(action->irq);