commit | 72be84f1c21c0ddba1081291072d7acc9ccddf5f | [log] [tgz] |
---|---|---|
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | Mon Dec 19 04:03:53 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 19 14:57:07 2011 -0500 |
tree | 42ff90164a8bbb6cef88f3489fed3b2e418796c2 | |
parent | 996b0541e73a3321947dbc8894a078b8e82e8691 [diff] |
mlx4: Fixing wrong error codes in communication channel The communication channel is HW interface from PF point of view So the command return status should be stored as HW error code and only then translated to errno values. Reporetd-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>