commit | 5d414b178e950ce9685c253994cc730893d5d887 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Mar 06 13:00:31 2018 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Tue Mar 06 20:08:39 2018 -0700 |
tree | d2503d1ac782610c42e25d275c1aa3a1ef7e325e | |
parent | 210b1f78076f88cad25b333fffafbac6ae870fcc [diff] |
IB/mlx5: Fix an error code in __mlx5_ib_modify_qp() "err" is either zero or possibly uninitialized here. It should be -EINVAL. Fixes: 427c1e7bcd7e ("{IB, net}/mlx5: Move the modify QP operation table to mlx5_ib") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>