[PATCH] lightnvm: add missing \n to end of dev_err message
Colin King
colin.king at canonical.com
Sun Sep 25 14:56:08 PDT 2016
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>
---
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
More information about the Linux-nvme
mailing list