diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-11-14 17:59:48 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2008-11-14 17:59:48 +0100 |
commit | a108096878aa6cb744b5280ca59395b6c0152d14 (patch) | |
tree | 552083cab7d520088ff7681c4ad36b2ee3757c82 /arch | |
parent | powerpc/mpc5200: fix bestcomm Kconfig dependencies (diff) | |
download | linux-a108096878aa6cb744b5280ca59395b6c0152d14.tar.xz linux-a108096878aa6cb744b5280ca59395b6c0152d14.zip |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/sysdev/xilinx_intc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/xilinx_intc.c b/arch/powerpc/sysdev/xilinx_intc.c index b7aefd0d45cb..a22e1a2df1af 100644 --- a/arch/powerpc/sysdev/xilinx_intc.c +++ b/arch/powerpc/sysdev/xilinx_intc.c @@ -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 */ |