Thread (5 messages) 5 messages, 2 authors, 2010-11-13
STALE5695d

[PATCH 08/14] drivers/mtd/nand: Use printf extension %pR for struct resource

From: Joe Perches <joe@perches.com>
Date: 2010-11-12 21:39:35
Also in: lkml
Subsystem: linux for powerpc (32-bit and 64-bit), memory technology devices (mtd), nand flash subsystem, the rest · Maintainers: Madhavan Srinivasan, Michael Ellerman, Miquel Raynal, Richard Weinberger, Vignesh Raghavendra, Linus Torvalds

Using %pR standardizes the struct resource output.

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/mtd/nand/pasemi_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/pasemi_nand.c b/drivers/mtd/nand/pasemi_nand.c
index 6ddb246..bb277a5 100644
--- a/drivers/mtd/nand/pasemi_nand.c
+++ b/drivers/mtd/nand/pasemi_nand.c
@@ -107,7 +107,7 @@ static int __devinit pasemi_nand_probe(struct platform_device *ofdev,
 	if (pasemi_nand_mtd)
 		return -ENODEV;
 
-	pr_debug("pasemi_nand at %llx-%llx\n", res.start, res.end);
+	pr_debug("pasemi_nand at %pR\n", &res);
 
 	/* Allocate memory for MTD device structure and private data */
 	pasemi_nand_mtd = kzalloc(sizeof(struct mtd_info) +
-- 
1.7.3.1.g432b3.dirty
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help