From: Or Gerlitz Date: Sun, 22 Jun 2014 10:21:34 +0000 (+0300) Subject: net/mlx4_core: Fix the error flow when probing with invalid VF configuration X-Git-Tag: omap-for-v3.16/fixes-rc4~53^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=960b1f454e1ace6b76718f22828bcc3594a09422;p=pandora-kernel.git net/mlx4_core: Fix the error flow when probing with invalid VF configuration Single ported VF are currently not supported on configurations where one or both ports are IB. When we hit this case, the relevant flow in the driver didn't return error and jumped to the wrong label. Fix that. Fixes: dd41cc3 ('net/mlx4: Adapt num_vfs/probed_vf params for single port VF') Reported-by: Shirley Ma Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed