[Pkg-ofed-commits] [libfabric] 11/123: prov/psm: fix coverity issue #29854 -- 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 3acc2e82b6c7d6d28b01d065d5dbf851339647b1
Author: Jianxin Xiong <jianxin.xiong at intel.com>
Date:   Thu Aug 27 13:54:57 2015 -0700

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

diff --git a/prov/psm/src/psmx_atomic.c b/prov/psm/src/psmx_atomic.c
index 82345f4..99bea41 100644
--- a/prov/psm/src/psmx_atomic.c
+++ b/prov/psm/src/psmx_atomic.c
@@ -491,7 +491,7 @@ int psmx_am_atomic_handler(psm_am_token_t token, psm_epaddr_t epaddr,
 				psmx_atomic_do_compwrite(addr, src, src + len,
 							 tmp_buf, datatype, op, count);
 			else
-				err = -FI_ENOMEM;
+				op_error = -FI_ENOMEM;
 
 			target_ep = mr->domain->atomics_ep;
 			cntr = target_ep->remote_write_cntr;

-- 
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