From: colin.king@canonical.com (Colin King)
Subject: [PATCH] nvme-rdma: add missing \n to end of dev_err message
Date: Sun, 25 Sep 2016 15:01:48 -0700 [thread overview]
Message-ID: <20160925220148.13300-1-colin.king@canonical.com> (raw)
From: Colin Ian King <colin.king@canonical.com>
Trival fix, dev_err message is missing a \n, so add it. Also
break line as it was over 80 chars wide.
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
drivers/nvme/host/rdma.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index 69e1fb7..3f32995 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -1227,7 +1227,8 @@ static int nvme_rdma_conn_rejected(struct nvme_rdma_queue *queue,
(struct nvme_rdma_cm_rej *)ev->param.conn.private_data;
dev_err(queue->ctrl->ctrl.device,
- "Connect rejected, status %d.", le16_to_cpu(rej->sts));
+ "Connect rejected, status %d.\n",
+ le16_to_cpu(rej->sts));
/* XXX: Think of something clever to do here... */
} else {
dev_err(queue->ctrl->ctrl.device,
--
2.9.3
next reply other threads:[~2016-09-25 22:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-25 22:01 Colin King [this message]
2016-09-26 21:53 ` [PATCH] nvme-rdma: add missing \n to end of dev_err message J Freyensee
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=20160925220148.13300-1-colin.king@canonical.com \
--to=colin.king@canonical.com \
/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;
as well as URLs for NNTP newsgroup(s).