public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] EDAC, skx: clean up a debug printk
@ 2018-11-27 11:32 Dan Carpenter
  2018-11-27 12:49 ` Borislav Petkov
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Dan Carpenter @ 2018-11-27 11:32 UTC (permalink / raw)
  To: Tony Luck, Qiuxu Zhuo
  Cc: Borislav Petkov, Mauro Carvalho Chehab, linux-edac,
	kernel-janitors

I've removed the 0x prefix for the row and col because the %#x format
already adds a 0x.

Fixes: e235dd43d8b0 ("EDAC, skx: Prepend hex formatting with '0x'")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 drivers/edac/skx_edac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/skx_edac.c b/drivers/edac/skx_edac.c
index 93ef161bb5e1..354d2a4b2c64 100644
--- a/drivers/edac/skx_edac.c
+++ b/drivers/edac/skx_edac.c
@@ -389,7 +389,7 @@ static int get_dimm_info(u32 mtr, u32 amap, struct dimm_info *dimm,
 	size = ((1ull << (rows + cols + ranks)) * banks) >> (20 - 3);
 	npages = MiB_TO_PAGES(size);
 
-	edac_dbg(0, "mc#%d: channel %d, dimm %d, %lld MiB (%d pages) bank: %d, rank: %d, row: 0x%#x, col: 0x%#x\n",
+	edac_dbg(0, "mc#%d: channel %d, dimm %d, %lld MiB (%d pages) bank: %d, rank: %d, row: %#x, col: %#x\n",
 		 imc->mc, chan, dimmno, size, npages,
 		 banks, 1 << ranks, rows, cols);
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-11-27 14:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-27 11:32 [PATCH] EDAC, skx: clean up a debug printk Dan Carpenter
2018-11-27 12:49 ` Borislav Petkov
2018-11-27 13:24 ` Dan Carpenter
2018-11-27 13:27 ` Borislav Petkov
2018-11-27 13:31 ` Dan Carpenter
2018-11-27 13:53 ` Dan Carpenter
2018-11-27 14:01 ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox