]> git.ipfire.org Git - people/arne_f/kernel.git/commit
IB/mlx5: Fix returned values of query QP
authorNoa Osherovich <noaos@mellanox.com>
Sat, 4 Jun 2016 12:15:32 +0000 (15:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Aug 2016 09:53:22 +0000 (11:53 +0200)
commit2cff2b867310e4d7404a4272535661d6b6ea9df8
treef932a662eff2915a5a4fdc22690685646538bd3a
parent738ed2dcdd73482974c9528e1a5edba906c796bd
IB/mlx5: Fix returned values of query QP

commit 0540d8148d419bf769e5aa99c77027febd8922f0 upstream.

Some variables were not initialized properly: max_recv_wr,
max_recv_sge, max_send_wr, qp_context and max_inline_data.

Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB...')
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/mlx5/qp.c