linux-next: build warning after merge of the final tree(tip/powerpc tree related)
From: Stephen Rothwell
Date: Fri May 20 2011 - 01:14:42 EST
Hi all,
After merging the final tree, today's linux-next build (powerpc allnoconfig)
produced these warnings:
kernel/time/clocksource.c: In function '__clocksource_updatefreq_scale':
kernel/time/clocksource.c:655: warning: comparison of distinct pointer types lacks a cast
kernel/time/clocksource.c:655: warning: right shift count >= width of type
kernel/time/clocksource.c:655: warning: passing argument 1 of '__div64_32' from incompatible pointer type
include/asm-generic/div64.h:35: note: expected 'uint64_t *' but argument is of type 'long unsigned int *'
kernel/time/clocksource.c:656: warning: comparison of distinct pointer types lacks a cast
kernel/time/clocksource.c:656: warning: right shift count >= width of type
kernel/time/clocksource.c:656: warning: passing argument 1 of '__div64_32' from incompatible pointer type
include/asm-generic/div64.h:35: note: expected 'uint64_t *' but argument is of type 'long unsigned int *'
kernel/time/clockevents.c: In function 'clockevents_config':
kernel/time/clockevents.c:211: warning: comparison of distinct pointer types lacks a cast
kernel/time/clockevents.c:211: warning: right shift count >= width of type
kernel/time/clockevents.c:211: warning: passing argument 1 of '__div64_32' from incompatible pointer type
include/asm-generic/div64.h:35: note: expected 'uint64_t *' but argument is of type 'long unsigned int *'
This is a 32 bit build.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
Attachment:
pgp00000.pgp
Description: PGP signature