commit | b74757944d69f8cd7de5284fc7e8649d965361ab | [log] [tgz] |
---|---|---|
author | Or Gerlitz <ogerlitz@mellanox.com> | Thu Mar 27 14:02:02 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 28 16:29:35 2014 -0400 |
tree | e0355259b27d8b72610b04ac5236ced8971d1a50 | |
parent | dae98cadf743daa480c357b7ba4410423c5f905f [diff] |
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 <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>