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

From: Stephen Rothwell
Date: Tue Nov 13 2018 - 21:18:58 EST


Hi Mark,

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

drivers/spi/spi-npcm-pspi.c: In function 'npcm_pspi_recv':
drivers/spi/spi-npcm-pspi.c:226:17: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
*priv->rx_buf = val;
~~~~~~~~~~~~~~^~~~~

Introduced by commit

2a22f1b30cee ("spi: npcm: add NPCM PSPI controller driver")

--
Cheers,
Stephen Rothwell

Attachment: pgpL6LNdv0CCv.pgp
Description: OpenPGP digital signature