]> git.openfabrics.org - ~emulex/libocrdma.git/commit
RDMA/libocrdma: return positive error codes
authorPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Wed, 14 Jan 2015 06:39:19 +0000 (12:09 +0530)
committerPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Wed, 14 Jan 2015 06:39:19 +0000 (12:09 +0530)
commitf8f285687e6e097607b6c1f920d025f36f8e92cd
tree3c8d449565dfa8bbe09dc18d6e496f2f50a5ebf5
parent3eae1dbbcee05e0ab4a42752710aa23bf7746658
RDMA/libocrdma: return positive error codes

As per the standard practice if any faiulre encountered in the
library code, the library should return a positive error code
to the user.

A bug has been reported in a used case scenario of KVM migration
as well.

This patch fixs the return code problem.

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
src/ocrdma_verbs.c