scsi: hpsa: correct device id issues
authorDon Brace <don.brace@microsemi.com>
Tue, 12 Mar 2019 18:11:39 +0000 (13:11 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 18 Mar 2019 20:46:14 +0000 (16:46 -0400)
commita45bcc4e11b1ebc9a2301c457f7746a1309e8a94
tree5df97c1bd8c4fdcf5c246ddd4577a4495ac25127
parent49ea45cb1d97fd65090b00c887dcf7650ced8c1b
scsi: hpsa: correct device id issues

Correct a 'rare' race condition where a disk is failed after a device list
has been obtained from the controller and before attempting to get the
device id.

Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c