irq: tsk->comm is an array
PATCH 1/1 irq: tsk->comm is an array
From: Alan Cox <[email protected]>
The array check is useless so remove it.
Signed-off-by Alan Cox <[email protected]>
---
kernel/irq/manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/irq/manage.c +1 -1
@@ -793,7 +793,7 @@ static void irq_thread_dtor(struct callback_head *unused) action =kthread_data (tsk);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);
Quoted 5 lines · Alan Cox
From: Alan Cox <[email protected]>
The array check is useless so remove it.
Signed-off-by Alan Cox <[email protected]>
Acked-by David Rientjes <[email protected]>