Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: nand: Use printf extension %pR for struct resource

Using %pR standardizes the struct resource output.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by

Joe Perches and committed by
David Woodhouse
23079f94 f9a5279c

+1 -1
+1 -1
drivers/mtd/nand/pasemi_nand.c
··· 107 107 if (pasemi_nand_mtd) 108 108 return -ENODEV; 109 109 110 - pr_debug("pasemi_nand at %llx-%llx\n", res.start, res.end); 110 + pr_debug("pasemi_nand at %pR\n", &res); 111 111 112 112 /* Allocate memory for MTD device structure and private data */ 113 113 pasemi_nand_mtd = kzalloc(sizeof(struct mtd_info) +