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

From: Stephen Rothwell
Date: Mon Jul 16 2018 - 01:52:15 EST


Hi Ted,

After merging the random tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/char/random.c: In function 'write_pool.constprop':
drivers/char/random.c:1912:11: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
buf[i] ^= t;
^~

Introduced by commit

349ddb707fb7 ("random: mix rdrand with entropy sent in from userspace")

--
Cheers,
Stephen Rothwell

Attachment: pgpKtUS1O0fW9.pgp
Description: OpenPGP digital signature