Skip to contentSkip to conversation

nvme: add missing \n to end of dev_warn message

PATCH In review Colin King 2 participants 2 messages Sep 25, 2016 – Sep 26, 2016 NVMe

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 nvme: add missing \n to end of dev_warn message

From: Colin Ian King <[email protected]>

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

Signed-off-by Colin Ian King <colin.king at canonical.com>
---
 drivers/nvme/host/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/host/pci.c +1 -1
index 0fc99f0..62a3644 100644
@@ -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);
 }
Signature · 1 line
2.9.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Colin King

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

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

Signed-off-by Colin Ian King <colin.king at canonical.com>
Reviewed-by Jay Freyensee <james_p_freyensee at linux.intel.com>