scsi: hpsa: Check for null device pointers
authorDon Brace <don.brace@microsemi.com>
Fri, 9 Sep 2016 21:30:23 +0000 (16:30 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Sep 2016 18:14:40 +0000 (14:14 -0400)
commitd49c2077c03d70a59e3063c7d33f00172491ae31
tree841167e2f2a4c87f44bb496bf0564d3de139dcb2
parent86cf7130a58bd2cdd09da72cdadae0dcd5f5db19
scsi: hpsa: Check for null device pointers

A device can be deleted causing NULL pointer issues.

Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@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