IB/qib: Fix an error code in qib_sdma_verbs_send()

commit 5050ae5fa3 upstream.

We accidentally return success on this error path.

Fixes: f931551baf ("IB/qib: Add new qib driver for QLogic PCIe InfiniBand adapters")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Dan Carpenter 2018-12-17 10:05:36 +03:00 • committed by Ben Hutchings
commit e2eb0bb278