[PATCH] lightnvm: add missing \n to end of dev_err message

From: Colin King
Date: Sun Sep 25 2016 - 17:56:35 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

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

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

diff --git a/drivers/nvme/host/lightnvm.c b/drivers/nvme/host/lightnvm.c
index f5e3011..3dd312d 100644
--- a/drivers/nvme/host/lightnvm.c
+++ b/drivers/nvme/host/lightnvm.c
@@ -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;
}
--
2.9.3