[Pkg-ofed-commits] [libfabric] 10/123: prov/psm: fix coverity issue #29844 -- unused value

Ana Beatriz Guerrero López ana at moszumanska.debian.org
Sat Oct 22 12:28:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

ana pushed a commit to annotated tag v1.1.1
in repository libfabric.

commit 259e247f7e28ff1680c93852805d23f6ae25249d
Author: Jianxin Xiong <jianxin.xiong at intel.com>
Date:   Thu Aug 27 13:54:49 2015 -0700

    prov/psm: fix coverity issue #29844 -- unused value
    
    Signed-off-by: Jianxin Xiong <jianxin.xiong at intel.com>
---
 prov/psm/src/psmx_msg2.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/prov/psm/src/psmx_msg2.c b/prov/psm/src/psmx_msg2.c
index 4bb5ca0..6df922c 100644
--- a/prov/psm/src/psmx_msg2.c
+++ b/prov/psm/src/psmx_msg2.c
@@ -333,6 +333,8 @@ int psmx_am_process_send(struct psmx_fid_domain *domain, struct psmx_am_request
 					PSMX_AM_MSG_HANDLER, args, 4,
 					req->send.buf+offset, chunk_size,
 					am_flags, NULL, NULL);
+		if (err)
+			return psmx_errno(err);
 
 		len -= chunk_size;
 		offset += chunk_size;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/libfabric.git



More information about the Pkg-ofed-commits mailing list