Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490985

[PATCH] nvme: add missing \n to end of dev_warn message

From Colin King <colin.king@canonical.com>
Newsgroups linux.kernel
Subject [PATCH] nvme: add missing \n to end of dev_warn message
Date 2016-09-26 00:10 +0200
Message-ID <slpMt-3LD-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Colin Ian King <colin.king@canonical.com>

Trival fix, dev_warn message is missing a \n, so add it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/nvme/host/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 0fc99f0..62a3644 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -855,7 +855,7 @@ static void abort_endio(struct request *req, int error)
 	struct nvme_queue *nvmeq = iod->nvmeq;
 	u16 status = req->errors;
 
-	dev_warn(nvmeq->dev->ctrl.device, "Abort status: 0x%x", status);
+	dev_warn(nvmeq->dev->ctrl.device, "Abort status: 0x%x\n", status);
 	atomic_inc(&nvmeq->dev->ctrl.abort_limit);
 	blk_mq_free_request(req);
 }
-- 
2.9.3

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] nvme: add missing \n to end of dev_warn message Colin King <colin.king@canonical.com> - 2016-09-26 00:10 +0200
  Re: [PATCH] nvme: add missing \n to end of dev_warn message J Freyensee <james_p_freyensee@linux.intel.com> - 2016-09-27 00:00 +0200

csiph-web