commit | 521130d11fd37b328543477df5522704a0e7cf2c | [log] [tgz] |
---|---|---|
author | Eugenia Emantayev <eugenia@mellanox.com> | Wed Sep 05 22:50:52 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 07 12:55:59 2012 -0400 |
tree | 5459ca02c8b4a95d977bf9af2fff3e13d6bb35f3 | |
parent | bef772eb06051f49e84c3168f189b65074f19c3d [diff] |
net/mlx4_core: Return the error value in case of command initialization failure If mlx4_cmd_init() failed, the init_one function returned success, although no resources were opened. Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>