-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Ran into this when rebuilding earlier today from master:
/home/jenkins/work/sds/cci/src/plugins/ctp/verbs/ctp_verbs_api.c:2985:6: error: assigning to 'int' from incompatible type 'void'
ret = rdma_destroy_ep(vconn->id);(at https://github.com/CCI/cci/blob/master/src/plugins/ctp/verbs/ctp_verbs_api.c#L2985)
Looking into it, there's actually two possible function definitions for rdma_destroy_ep - a locally defined one at https://github.com/CCI/cci/blob/master/src/plugins/ctp/verbs/ctp_verbs_api.c#L1061 and one in rdma/rdma_cma.h. Both have the same void-returning signature. Would fix myself, but I'm unsure what the intent is here - is that call supposed to be rdma_destroy_id, which does return an int, or should the error-checking code be dropped out? I'd guess the latter given the comments.
rajachan and marcvef
Metadata
Metadata
Assignees
Labels
No labels