powerpc: More printing warning fixes for the l64 to ll64 conversion
These are all powerpc specific drivers. res.start in fsl_elbc_nand.c needs to be cast since it may be either 32 or 64 bit. Thanks to Scott Wood for noticing. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Arnd Bergmann <arnd@arndb.de> call_edac bits in particular Acked-by: Olof Johansson <olof@lixom.net> pasemi_nand peices Acked-by: Scott Wood <scottwood@freescale.com> fsl_elbc fixes Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
52c275fe70
commit
4712fff9be
@@ -107,7 +107,7 @@ static int __devinit pasemi_nand_probe(struct of_device *ofdev,
|
||||
if (pasemi_nand_mtd)
|
||||
return -ENODEV;
|
||||
|
||||
pr_debug("pasemi_nand at %lx-%lx\n", res.start, res.end);
|
||||
pr_debug("pasemi_nand at %llx-%llx\n", res.start, res.end);
|
||||
|
||||
/* Allocate memory for MTD device structure and private data */
|
||||
pasemi_nand_mtd = kzalloc(sizeof(struct mtd_info) +
|
||||
@@ -170,7 +170,7 @@ static int __devinit pasemi_nand_probe(struct of_device *ofdev,
|
||||
goto out_lpc;
|
||||
}
|
||||
|
||||
printk(KERN_INFO "PA Semi NAND flash at %08lx, control at I/O %x\n",
|
||||
printk(KERN_INFO "PA Semi NAND flash at %08llx, control at I/O %x\n",
|
||||
res.start, lpcctl);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user