linux_dsm_epyc7002/drivers/scsi/mpt2sas
Sreekanth Reddy 6409a7d000 [SCSI] mpt2sas: Null pointer deference possibility in mpt2sas_ctl_event_callback function
Added a check to identify if mpi_reply is NULL in mpt2sas_ctl_event_callback()
and return without proceeding if it is the case.

Also modified the following functions to return void instead of 0 or 1
as returning those values from events perspective doesn't make sense.
* _base_async_event()
* mpt2sas_ctl_event_callback()
* mpt2sas_scsih_event_callback()

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-09-03 07:27:50 -07:00
..
mpi [SCSI] mpt2sas: MPI2 Rev W (2.00.15) specification 2013-06-24 12:40:02 -07:00
Kconfig [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
Makefile
mpt2sas_base.c [SCSI] mpt2sas: Null pointer deference possibility in mpt2sas_ctl_event_callback function 2013-09-03 07:27:50 -07:00
mpt2sas_base.h [SCSI] mpt2sas: Null pointer deference possibility in mpt2sas_ctl_event_callback function 2013-09-03 07:27:50 -07:00
mpt2sas_config.c [SCSI] mpt2sas: Provide sysfs attribute to report Backup Rail Monitor Status 2012-08-24 13:10:25 +04:00
mpt2sas_ctl.c [SCSI] mpt2sas: Null pointer deference possibility in mpt2sas_ctl_event_callback function 2013-09-03 07:27:50 -07:00
mpt2sas_ctl.h [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
mpt2sas_debug.h [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
mpt2sas_scsih.c [SCSI] mpt2sas: Null pointer deference possibility in mpt2sas_ctl_event_callback function 2013-09-03 07:27:50 -07:00
mpt2sas_transport.c block: Remove some unnecessary bi_vcnt usage 2013-03-23 14:15:31 -07:00