summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/imx21-dbg.c
diff options
context:
space:
mode:
authorSreekanth Reddy <Sreekanth.Reddy@lsi.com>2013-07-25 11:24:35 +0530
committerJames Bottomley <JBottomley@Parallels.com>2013-09-03 07:27:50 -0700
commit6409a7d000020ffdd61082af8bb24291d2cdc1a6 (patch)
treefa4b48400632251539614715ba356ff6e086fa70 /drivers/usb/host/imx21-dbg.c
parent804a5cb526c121226830c686132b1b82aa12b76c (diff)
downloadblackbird-op-linux-6409a7d000020ffdd61082af8bb24291d2cdc1a6.tar.gz
blackbird-op-linux-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 <Sreekanth.Reddy@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/usb/host/imx21-dbg.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud