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

From: Stephen Rothwell
Date: Sun Nov 28 2010 - 20:11:47 EST


Hi all,

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

kernel/sched.c: In function 'sched_destroy_group':
kernel/sched.c:8098: warning: 'i' is used uninitialized in this function
kernel/sched.c:8088: note: 'i' was declared here

Introduced by commit 3d4b47b4b040c9d77dd68104cfc1055d89a55afd ("sched:
Implement on-demand (active) cfs_rq list"). I think this is a real bug.

[The wrong function is mentioned above, the actual function is
unregister_fair_sched_group() - presumably gcc has confused itself via
inlining.]
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature