Hi Ted, After merging the random tree, today's linux-next build (powerpc64 allnoconfig) produced this warning:
In file included from include/linux/kernel.h:10:0,
from include/linux/sched.h:15,
from include/linux/utsname.h:5,
from drivers/char/random.c:238:
drivers/char/random.c: In function 'add_interrupt_randomness':
include/linux/bitops.h:96:2: warning: 'input[3]' may be used uninitialized in
this function [-Wmaybe-uninitialized]
return (word << shift) | (word >> (32 - shift));
^
drivers/char/random.c:827:10: note: 'input[3]' was declared here
__u32 input[4], cycles = random_get_entropy();
^
In file included from include/linux/kernel.h:10:0,
from include/linux/sched.h:15,
from include/linux/utsname.h:5,
from drivers/char/random.c:238:
include/linux/bitops.h:96:2: warning: 'input[2]' may be used uninitialized in
this function [-Wmaybe-uninitialized]
return (word << shift) | (word >> (32 - shift));
^
drivers/char/random.c:827:10: note: 'input[2]' was declared here
__u32 input[4], cycles = random_get_entropy();
^
Probably introduced by commit d5693ae494f2 ("random: speed up the
fast_mix function by a factor of four").
--
Cheers,
Stephen Rothwell [email protected]
pgpvoTL92RuUs.pgp
Description: PGP signature

