linux-next: build warning after merge of the final tree (tip/powerpc tree related)

Stephen Rothwell sfr at canb.auug.org.au
Fri May 20 15:14:31 EST 2011


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 at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20110520/b26a71ec/attachment-0001.pgp>


More information about the Linuxppc-dev mailing list