summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/main.c
diff options
context:
space:
mode:
authorMaor Gottlieb2016-11-27 14:18:20 +0100
committerDoug Ledford2016-12-13 19:39:46 +0100
commitc73b7911de97fad3ab9032a110af48d6ab2da48f (patch)
treedc73b501513d3abcafb1aedae03edfa97ffb6d4a /drivers/infiniband/hw/mlx5/main.c
parentIB/mlx4: Fix out-of-range array index in destroy qp flow (diff)
downloadkernel-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/main.c')
0 files changed, 0 insertions, 0 deletions