]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fix error handling order in create_kernel_qp
authorEli Cohen <eli@mellanox.com>
Tue, 3 Jan 2017 21:55:20 +0000 (23:55 +0200)
committerLeon Romanovsky <leon@kernel.org>
Sun, 8 Jan 2017 09:21:26 +0000 (11:21 +0200)
commit966534d44ae0bc309dbbc3e0a630b03f311e13f6
tree8e4537d096fa8cfe9e91a70b4584816cae88e62c
parent06293de119355884f3a27b10c6d525a986fafa6c
IB/mlx5: Fix error handling order in create_kernel_qp

Make sure order of cleanup is exactly the opposite of initialization.

Fixes: a76686a4b7e5 ('mlx5: Move pci device handling from mlx5_ib to mlx5_core')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c