From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] irq: tsk->comm is an array
Date: Tue, 06 Nov 2012 14:28:56 +0000 [thread overview]
Message-ID: <20121106142849.21834.20965.stgit@localhost.localdomain> (raw)
From: Alan Cox <alan@linux.intel.com>
The array check is useless so remove it.
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
kernel/irq/manage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 4c69326..ba3853a 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -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);
next reply other threads:[~2012-11-06 14:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-06 14:28 Alan Cox [this message]
2012-11-06 19:26 ` [PATCH] irq: tsk->comm is an array David Rientjes
-- strict thread matches above, loose matches on Subject: below --
2012-10-25 15:01 Alan Cox
2012-10-25 20:04 ` David Rientjes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121106142849.21834.20965.stgit@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.