diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2009-01-06 22:19:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-06 22:19:28 +0100 |
commit | 9018113649348c689da107166c05d436cd52e7bf (patch) | |
tree | 3ae09643fd0cafdfdb9462575213e060b456ac91 /arch/sparc/kernel/prom_irqtrans.c | |
parent | sparc: refactor code in fault_32.c (diff) | |
download | linux-9018113649348c689da107166c05d436cd52e7bf.tar.xz linux-9018113649348c689da107166c05d436cd52e7bf.zip |
sparc64: Use unsigned long long for u64.
Andrew Morton wrote:
People keep on doing
printk("%llu", some_u64);
testing it only on x86_64 and this generates a warning storm on
powerpc, sparc64, etc. Because they use `long', not `long long'.
Quite a few 64-bit architectures are using `long' for their
s64/u64 types. We should convert them all to `long long'.
Update types.h so we use unsigned long long for u64 and
fix all warnings in sparc64 code.
Tested with an allnoconfig, defconfig and allmodconfig builds.
This patch introduces additional warnings in several drivers.
These will be dealt with in separate patches.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/prom_irqtrans.c')
-rw-r--r-- | arch/sparc/kernel/prom_irqtrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/prom_irqtrans.c b/arch/sparc/kernel/prom_irqtrans.c index 96958c4dce8e..5702ad4710cb 100644 --- a/arch/sparc/kernel/prom_irqtrans.c +++ b/arch/sparc/kernel/prom_irqtrans.c @@ -346,7 +346,7 @@ static void tomatillo_wsync_handler(unsigned int ino, void *_arg1, void *_arg2) break; } if (limit <= 0) { - printk("tomatillo_wsync_handler: DMA won't sync [%lx:%lx]\n", + printk("tomatillo_wsync_handler: DMA won't sync [%llx:%llx]\n", val, mask); } |