]> 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)
commit3e803e7fd3e38a7ef8363258d74f25a7246855cb
tree6a2766a1442c62974cca914cda9235db7a82e424
parent551e7c8750194af1f5695c4a5cd35ef1bad3b9d0
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