diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2014-03-27 14:02:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-28 16:29:35 -0400 |
commit | b74757944d69f8cd7de5284fc7e8649d965361ab (patch) | |
tree | e0355259b27d8b72610b04ac5236ced8971d1a50 /include/linux/mlx4 | |
parent | dae98cadf743daa480c357b7ba4410423c5f905f (diff) | |
download | linux-stable-b74757944d69f8cd7de5284fc7e8649d965361ab.tar.gz linux-stable-b74757944d69f8cd7de5284fc7e8649d965361ab.tar.bz2 linux-stable-b74757944d69f8cd7de5284fc7e8649d965361ab.zip |
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>
Diffstat (limited to 'include/linux/mlx4')
0 files changed, 0 insertions, 0 deletions