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

From: Stephen Rothwell
Date: Tue Nov 22 2016 - 02:44:17 EST


Hi James,

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

drivers/scsi/hpsa.c: In function 'hpsa_slave_alloc':
drivers/scsi/hpsa.c:2033:5: warning: 'sd' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!sd)
^

Introduced by commit

4eb307f7b18d ("scsi: hpsa: use bus '3' for legacy HBA devices")

--
Cheers,
Stephen Rothwell