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

From: Martin K. Petersen
Date: Tue Nov 22 2016 - 17:24:34 EST


>>>>> "Stephen" == Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> writes:

Stephen,

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

Stephen> Introduced by commit

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

Fixed this up.

Thanks!

--
Martin K. Petersen Oracle Linux Engineering