summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvsas
diff options
context:
space:
mode:
authorScott Teel <scott.teel@microsemi.com>2016-09-09 23:30:29 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-14 20:19:31 +0200
commit8383278d28b9bc598225f163b6644b8b09f2733d (patch)
tree92ff613238aec870fad16d7c5922f5ebd5530042 /drivers/scsi/mvsas
parentscsi: hpsa: Check for null device pointers (diff)
downloadlinux-8383278d28b9bc598225f163b6644b8b09f2733d.tar.xz
linux-8383278d28b9bc598225f163b6644b8b09f2733d.zip
scsi: hpsa: Check for vpd support before sending
Before using vendor-specific VPD pages for getting raid_level and device_id, check for page support. If page isn't supported, don't try to use it. Also, pay attention to return status on hpsa_get_device_id. [mkp: fix boolean return warnings reported by kbuild test robot] Reviewed-by: Scott Benesh <scott.benest@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>
Diffstat (limited to 'drivers/scsi/mvsas')
0 files changed, 0 insertions, 0 deletions