hpsa: fix hpsa_adjust_hpsa_scsi_table
commitda03ded045b6249261e6c82d942e6d0298dabc9b
authorDon Brace <don.brace@pmcs.com>
Wed, 4 Nov 2015 21:50:56 +0000 (4 15:50 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Nov 2015 17:34:20 +0000 (9 12:34 -0500)
treef042fa9ddcf3800dc04552bb6243012a7897438a
parentc8a6c9a6b41367d147990756b311ed5a67f19005
hpsa: fix hpsa_adjust_hpsa_scsi_table

Fix a NULL pointer issue in the driver when devices are removed
during a reset.

Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h