aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/cq.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-03-06 13:00:31 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-03-06 20:08:39 -0700
commit5d414b178e950ce9685c253994cc730893d5d887 (patch)
treed2503d1ac782610c42e25d275c1aa3a1ef7e325e /drivers/infiniband/core/cq.c
parentIB/mlx5: When not in dual port RoCE mode, use provided port as native (diff)
downloadlinux-dev-5d414b178e950ce9685c253994cc730893d5d887.tar.xz
linux-dev-5d414b178e950ce9685c253994cc730893d5d887.zip
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>
Diffstat (limited to 'drivers/infiniband/core/cq.c')
0 files changed, 0 insertions, 0 deletions