aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorSreekanth Reddy <[email protected]>2013-07-25 05:54:35 +0000
committerJames Bottomley <[email protected]>2013-09-03 14:27:50 +0000
commit6409a7d000020ffdd61082af8bb24291d2cdc1a6 (patch)
treefa4b48400632251539614715ba356ff6e086fa70 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent[SCSI] hpsa: fix warning with smp_processor_id() in preemptible (diff)
downloadkernel-6409a7d000020ffdd61082af8bb24291d2cdc1a6.tar.gz
kernel-6409a7d000020ffdd61082af8bb24291d2cdc1a6.zip
[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 <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions