From: Matan Barak Date: Thu, 10 Nov 2016 09:30:55 +0000 (+0200) Subject: IB/mlx4: Fix create CQ error flow X-Git-Tag: v3.2.85~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84907cb3cc8846bc5e07b18e26e5ee49568d0aeb;p=pandora-kernel.git IB/mlx4: Fix create CQ error flow commit 593ff73bcfdc79f79a8a0df55504f75ad3e5d1a9 upstream. Currently, if ib_copy_to_udata fails, the CQ won't be deleted from the radix tree and the HW (HW2SW). Fixes: 225c7b1feef1 ('IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters') Signed-off-by: Matan Barak Signed-off-by: Daniel Jurgens Reviewed-by: Mark Bloch Signed-off-by: Leon Romanovsky Signed-off-by: Doug Ledford Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed