powerpc/virtex: fix various format/casting printk mismatches
Various printk format string in code used by the Xilinx Virtex platform are not 32-bit/64-bit safe. Add correct casting to fix the bugs. Reported-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
This commit is contained in:
@@ -107,8 +107,8 @@ xilinx_intc_init(struct device_node *np)
|
||||
}
|
||||
regs = ioremap(res.start, 32);
|
||||
|
||||
printk(KERN_INFO "Xilinx intc at 0x%08LX mapped to 0x%p\n",
|
||||
res.start, regs);
|
||||
printk(KERN_INFO "Xilinx intc at 0x%08llx mapped to 0x%p\n",
|
||||
(unsigned long long) res.start, regs);
|
||||
|
||||
/* Setup interrupt controller */
|
||||
out_be32(regs + XINTC_IER, 0); /* disable all irqs */
|
||||
|
Reference in New Issue
Block a user