diff options
author | Maor Gottlieb | 2016-11-27 14:18:20 +0100 |
---|---|---|
committer | Doug Ledford | 2016-12-13 19:39:46 +0100 |
commit | c73b7911de97fad3ab9032a110af48d6ab2da48f (patch) | |
tree | dc73b501513d3abcafb1aedae03edfa97ffb6d4a /drivers/infiniband/hw/mlx5/ah.c | |
parent | IB/mlx4: Fix out-of-range array index in destroy qp flow (diff) | |
download | kernel-qcow2-linux-c73b7911de97fad3ab9032a110af48d6ab2da48f.tar.gz kernel-qcow2-linux-c73b7911de97fad3ab9032a110af48d6ab2da48f.tar.xz kernel-qcow2-linux-c73b7911de97fad3ab9032a110af48d6ab2da48f.zip |
IB/mlx5: Assign SRQ type earlier
Move the SRQ type assignment to be before actually using it
in create_srq_user() and in create_srq_kernel() functions.
Fixes: af1ba291c5e4 ('{net, IB}/mlx5: Refactor internal SRQ API')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/ah.c')
0 files changed, 0 insertions, 0 deletions