Skip to contentSkip to conversation

lightnvm: add missing \n to end of dev_err 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 lightnvm: add missing \n to end of dev_err message

From: Colin Ian King <[email protected]>

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

Signed-off-by Colin Ian King <colin.king at canonical.com>
---
 drivers/nvme/host/lightnvm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/host/lightnvm.c +1 -1
index f5e3011..3dd312d 100644
@@ -431,7 +431,7 @@ static int nvme_nvm_get_bb_tbl(struct nvm_dev *nvmdev, struct ppa_addr ppa,
 	if (le32_to_cpu(bb_tbl->tblks) != nr_blks) {
 		ret = -EINVAL;
 		dev_err(ctrl->device,
-				"bbt unsuspected blocks returned (%u!=%u)",
+				"bbt unsuspected blocks returned (%u!=%u)\n",
 				le32_to_cpu(bb_tbl->tblks), nr_blks);
 		goto out;
 	}
Signature · 1 line
2.9.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Colin King

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

Trival fix, dev_err 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>