Skip to content

verbs compile error on cooley #45

@JohnPJenkins

Description

@JohnPJenkins

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions