linux/drivers/scsi/mpt3sas
Joe Lawrence ad2bf16543 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>
2016-07-12 23:16:31 -04:00
..
mpi mpt3sas: Update MPI header to 2.00.42 2016-05-11 16:10:56 -04:00
Kconfig mpt3sas: fix Kconfig dependency problem for mpt2sas back compatibility 2015-12-03 09:31:23 -08:00
Makefile mpt3sas: Single driver module which supports both SAS 2.0 & SAS 3.0 HBAs 2015-11-11 19:50:11 -05:00
mpt3sas_base.c mpt3sas: Used "synchronize_irq()"API to synchronize timed-out IO & TMs 2016-05-11 16:14:31 -04:00
mpt3sas_base.h mpt3sas: Used "synchronize_irq()"API to synchronize timed-out IO & TMs 2016-05-11 16:14:31 -04:00
mpt3sas_config.c mpt3sas: Single driver module which supports both SAS 2.0 & SAS 3.0 HBAs 2015-11-11 19:50:11 -05:00
mpt3sas_ctl.c mpt3sas: Fix for Asynchronous completion of timedout IO and task abort of timedout IO. 2016-02-23 21:27:02 -05:00
mpt3sas_ctl.h mpt3sas: Ported WarpDrive product SSS6200 support 2015-11-11 18:56:10 -05:00
mpt3sas_debug.h mpt2sas, mpt3sas: Remove SCSI_MPTXSAS_LOGGING entry from Kconfig 2015-11-11 18:31:14 -05:00
mpt3sas_scsih.c mpt3sas: set num_phys after allocating phy[] space 2016-07-12 23:16:31 -04:00
mpt3sas_transport.c mpt3sas: avoid mpt3sas_transport_port_add NULL parent_dev 2016-07-12 23:16:31 -04:00
mpt3sas_trigger_diag.c mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_trigger_diag.h mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_warpdrive.c mpt3sas: Single driver module which supports both SAS 2.0 & SAS 3.0 HBAs 2015-11-11 19:50:11 -05:00