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


Groups > linux.kernel > #1490982 > unrolled thread

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

Started byColin King <colin.king@canonical.com>
First post2016-09-26 00:00 +0200
Last post2016-09-27 00:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

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

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

FromColin King <colin.king@canonical.com>
Date2016-09-26 00:00 +0200
Subject[PATCH] lightnvm: add missing \n to end of dev_err message
Message-ID<slpCO-3rB-11@gated-at.bofh.it>
From: Colin Ian King <colin.king@canonical.com>

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

Signed-off-by: Colin Ian King <colin.king@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

[toc] | [next] | [standalone]


#1491575

FromJ Freyensee <james_p_freyensee@linux.intel.com>
Date2016-09-27 00:00 +0200
Message-ID<slM6l-JE-13@gated-at.bofh.it>
In reply to#1490982
On Sun, 2016-09-25 at 14:56 -0700, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trival fix, dev_err message is missing a \n, so add it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> 
Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web