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


Groups > linux.kernel > #1447582

[PATCH v2 1/3] pmem: clarify a debug print in pmem_clear_poison

From Vishal Verma <vishal.l.verma@intel.com>
Newsgroups linux.kernel
Subject [PATCH v2 1/3] pmem: clarify a debug print in pmem_clear_poison
Date 2016-07-21 04:00 +0200
Message-ID <rXbrp-PC-11@gated-at.bofh.it> (permalink)
References <rXbrp-PC-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Prefix the sector number being cleared with a '0x' to make it clear that
this is a hex value.

Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
 drivers/nvdimm/pmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvdimm/pmem.c b/drivers/nvdimm/pmem.c
index 608fc44..08ac2cb 100644
--- a/drivers/nvdimm/pmem.c
+++ b/drivers/nvdimm/pmem.c
@@ -57,7 +57,7 @@ static void pmem_clear_poison(struct pmem_device *pmem, phys_addr_t offset,
 	cleared = nvdimm_clear_poison(dev, pmem->phys_addr + offset, len);
 
 	if (cleared > 0 && cleared / 512) {
-		dev_dbg(dev, "%s: %llx clear %ld sector%s\n",
+		dev_dbg(dev, "%s: %#llx clear %ld sector%s\n",
 				__func__, (unsigned long long) sector,
 				cleared / 512, cleared / 512 > 1 ? "s" : "");
 		badblocks_clear(&pmem->bb, sector, cleared / 512);
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] ARS rescanning triggered by latent errors or userspace Vishal Verma <vishal.l.verma@intel.com> - 2016-07-21 04:00 +0200
  [PATCH v2 1/3] pmem: clarify a debug print in pmem_clear_poison Vishal Verma <vishal.l.verma@intel.com> - 2016-07-21 04:00 +0200

csiph-web