diff options
author | Sreekanth Reddy | 2013-07-25 11:24:35 +0530 |
---|---|---|
committer | James Bottomley | 2013-09-03 07:27:50 -0700 |
commit | 6409a7d000020ffdd61082af8bb24291d2cdc1a6 (patch) | |
tree | fa4b48400632251539614715ba356ff6e086fa70 /sound | |
parent | 804a5cb526c121226830c686132b1b82aa12b76c (diff) |
[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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions