linux-next: build warning after merge of the tip tree

From: Stephen Rothwell
Date: Tue Mar 16 2010 - 23:57:15 EST


Hi all,

After merging the tip tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

kernel/sched.c: In function 'SYSC_sched_getaffinity':
kernel/sched.c:4915: warning: comparison of distinct pointer types lacks a cast

Introduced by commit cd3d8031eb4311e516329aee03c79a08333141f1 ("sched:
sched_getaffinity(): Allow less than NR_CPUS length"). Just a usage of
min() with different types.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature