]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Fix async commands return code
authorEli Cohen <eli@mellanox.com>
Fri, 25 Sep 2015 07:49:12 +0000 (10:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 05:19:49 +0000 (22:19 -0700)
commit0e023bb51be534ad8e3dd05735eeaa8d3ec3e99e
tree6a2766a1442c62974cca914cda9235db7a82e424
parentd5dc775782a650cc877d660e515be96b8bcf13f3
net/mlx5_core: Fix async commands return code

In case of async command completion, the error code returned should take
into account the command completion status.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c