From: Carol Soto Date: Tue, 2 Jun 2015 21:07:24 +0000 (-0500) Subject: net/mlx4_core: need to call close fw if alloc icm is called twice X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~146 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed3d2276ef72be23c6367358d80004130d8c797d;p=pandora-kernel.git net/mlx4_core: need to call close fw if alloc icm is called twice If mlx4_enable_sriov is called by adapter without this feature MLX4_DEV_CAP_FLAG2_SYS_EQS then during this path the function alloc icm is called twice without freeing the structures from the first time. Acked-by: Or Gerlitz Signed-off-by: Carol L Soto Signed-off-by: David S. Miller --- Reading git-diff-tree failed