i40iw: Add NULL check for ibqp event handler
authorShiraz Saleem <shiraz.saleem@intel.com>
Wed, 30 Nov 2016 21:09:07 +0000 (15:09 -0600)
committerDoug Ledford <dledford@redhat.com>
Mon, 5 Dec 2016 21:09:42 +0000 (16:09 -0500)
commite0b010da87e3aaf7ca9d28ba5d141924a7f8c66d
tree366c951a4542013ea26f18862218cdb1d5b6c64f
parenta05e15135b67d71f30f70ab45dede4706f988439
i40iw: Add NULL check for ibqp event handler

Add NULL check for ibqp event handler before calling it to report
QP events, as it might not initialized.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_cm.c