From: Stephen Rothwell on 17 Mar 2010 00:00 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(a)canb.auug.org.au http://www.canb.auug.org.au/~sfr/
From: KOSAKI Motohiro on 17 Mar 2010 00:10 > 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! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Stephen Rothwell on 17 Mar 2010 01:00 Hi, On Wed, 17 Mar 2010 13:00:00 +0900 (JST) KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> wrote: > > yup. I've posted the fixing patch today. Excellent. -- Cheers, Stephen Rothwell sfr(a)canb.auug.org.au http://www.canb.auug.org.au/~sfr/
From: Ingo Molnar on 17 Mar 2010 03:10 * Stephen Rothwell <sfr(a)canb.auug.org.au> wrote: > 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 I already reported this yesterday, see: http://patchwork.kernel.org/patch/86244/ Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: KOSAKI Motohiro on 17 Mar 2010 04:10 > > * Stephen Rothwell <sfr(a)canb.auug.org.au> wrote: > > > 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 > > I already reported this yesterday, see: > > http://patchwork.kernel.org/patch/86244/ yup, very thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: [PATCH] KVM: cleanup kvm_get_dirty_log() Next: KVM: cleanup kvm_get_dirty_log() |