summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.com>2016-10-27 16:36:46 +0300
committerDoug Ledford <dledford@redhat.com>2016-11-16 20:03:44 -0500
commita1ab8402d15d2305d2315d96ec3294bfdf16587e (patch)
treede32b4419cf2121d2a3d66d6667ef37f65d54d95 /virt
parentdbaaff2a2caa03d472b5cc53a3fbfd415c97dc26 (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