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

KOSAKI Motohiro
2010-03-17T04:00:05Z

> 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.

yup. I've posted the fixing patch today.

thanks!