Skip to content

Commit d8c1471

Browse files
committed
Use the return value from the get_buffer_id
Signed-off-by: George Bosilca <[email protected]>
1 parent 31953c1 commit d8c1471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/rcache/grdma/rcache_grdma_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ static bool mca_rcache_accelerator_previously_freed_memory(mca_rcache_base_regis
540540
int res;
541541
opal_accelerator_buffer_id_t buf_id;
542542
unsigned char *dbuf = reg->base;
543-
opal_accelerator.get_buffer_id(MCA_ACCELERATOR_NO_DEVICE_ID, dbuf, &buf_id);
543+
res = opal_accelerator.get_buffer_id(MCA_ACCELERATOR_NO_DEVICE_ID, dbuf, &buf_id);
544544
if (OPAL_UNLIKELY(res != OPAL_SUCCESS)) {
545545
return true;
546546
}

0 commit comments

Comments
 (0)