mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
847cdf42d5
commit
a108096878
5 changed files with 14 additions and 12 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue