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

From: Stephen Rothwell
Date: Thu May 30 2019 - 23:39:55 EST


Hi all,

After merging the scsi tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/scsi/ibmvscsi/ibmvscsi.c: In function 'ibmvscsi_work':
drivers/scsi/ibmvscsi/ibmvscsi.c:2151:5: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (rc) {
^
drivers/scsi/ibmvscsi/ibmvscsi.c:2121:6: note: 'rc' was declared here
int rc;
^~

Introduced by commit

035a3c4046b5 ("scsi: ibmvscsi: redo driver work thread to use enum action states")

--
Cheers,
Stephen Rothwell

Attachment: pgpBThRNKORk7.pgp
Description: OpenPGP digital signature