commit | 7ec0bb227aa6fb8c622bec91933e865b37dc58f2 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jun 11 11:50:01 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 11 15:44:41 2015 -0700 |
tree | af1d96bb2179c5973efee4d46ff6136ffbc82901 | |
parent | f60a8b3d1968d3e2d5259e2c2d4e9f16e19a738b [diff] |
net/mlx5_core: fix an error code We return success if mlx5e_alloc_sq_db() fails but we should return an error code. Fixes: f62b8bb8f2d3 ('net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>