summaryrefslogtreecommitdiff
path: root/drivers/scsi/bnx2fc
diff options
context:
space:
mode:
authorJoe Lawrence <joe.lawrence@stratus.com>2016-05-25 22:14:29 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-07-13 06:16:31 +0300
commitad2bf16543622594432439cd16e90e22cc965964 (patch)
tree37b0a5294691965b77d5fe1433b9de6a6a73e527 /drivers/scsi/bnx2fc
parent87aa95d4bb77613acaed9724efe07dde9e9bacd7 (diff)
downloadlinux-ad2bf16543622594432439cd16e90e22cc965964.tar.xz
mpt3sas: avoid mpt3sas_transport_port_add NULL parent_dev
If _scsih_sas_host_add's call to mpt3sas_config_get_sas_iounit_pg0 fails, ioc->sas_hba.parent_dev may be left uninitialized. A later device probe could invoke mpt3sas_transport_port_add which will call sas_port_alloc_num [scsi_transport_sas] with a NULL parent_dev pointer. Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com> Acked-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
0 files changed, 0 insertions, 0 deletions