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
..
2013-07-04 12:30:30 -07:00
2013-07-04 12:30:30 -07:00
2013-07-13 17:41:21 -07:00
2013-08-26 12:51:30 +04:00
2013-08-26 12:51:31 +04:00
2013-07-13 17:41:21 -07:00
2013-06-26 17:56:18 -07:00