From: Or Gerlitz Date: Thu, 27 Mar 2014 12:02:02 +0000 (+0200) Subject: net/mlx4: USe one wrapper that returns -EPERM X-Git-Tag: v3.15-rc1~113^2~45^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b74757944d69f8cd7de5284fc7e8649d965361ab;p=pandora-kernel.git net/mlx4: USe one wrapper that returns -EPERM When a VF issues a firmware command which is disallowed for them, the PF rerturns -EPERM from that command wrapper. Move to use one such wrapper instance, instead of repeating the same code on such commands. Signed-off-by: Or Gerlitz Signed-off-by: David S. Miller --- Reading git-diff-tree failed