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

Stephen Rothwell
2018-11-14T02:18:57Z

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

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")