commit | a1ab8402d15d2305d2315d96ec3294bfdf16587e | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@mellanox.com> | Thu Oct 27 16:36:46 2016 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Wed Nov 16 20:03:44 2016 -0500 |
tree | de32b4419cf2121d2a3d66d6667ef37f65d54d95 | |
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>