From: Soonwoo Hong <qpseh2m7@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, Soonwoo Hong <qpseh2m7@gmail.com>
Subject: [PATCH] blk-mq: fix coding style
Date: Sat, 8 Jun 2019 22:47:28 +0900 [thread overview]
Message-ID: <20190608134728.4655-1-qpseh2m7@gmail.com> (raw)
Add a space before colon in ternary operator
Singed-off-by: Soonwoo Hong <qpseh2m7@gmail.com>
---
block/blk-mq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/blk-mq.c b/block/blk-mq.c
index ce0f5f4ede70..374b13e89bb1 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -1377,7 +1377,7 @@ static void __blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx)
cpu_online(hctx->next_cpu)) {
printk(KERN_WARNING "run queue from wrong CPU %d, hctx %s\n",
raw_smp_processor_id(),
- cpumask_empty(hctx->cpumask) ? "inactive": "active");
+ cpumask_empty(hctx->cpumask) ? "inactive" : "active");
dump_stack();
}
--
2.21.0
next reply other threads:[~2019-06-08 13:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-08 13:47 Soonwoo Hong [this message]
2019-06-08 15:54 ` [PATCH] blk-mq: fix coding style Greg KH
2019-06-08 15:55 ` Greg KH
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=20190608134728.4655-1-qpseh2m7@gmail.com \
--to=qpseh2m7@gmail.com \
--cc=gregkh@linuxfoundation.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox