diff options
author | Eli Cohen <eli@mellanox.com> | 2016-10-27 16:36:46 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-11-16 20:03:44 -0500 |
commit | a1ab8402d15d2305d2315d96ec3294bfdf16587e (patch) | |
tree | de32b4419cf2121d2a3d66d6667ef37f65d54d95 /virt | |
parent | dbaaff2a2caa03d472b5cc53a3fbfd415c97dc26 (diff) |
IB/mlx5: Fix NULL pointer dereference on debug print
For XRC QP CQs may not exist. Check before attempting dereference.
Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions