On Tue, May 19, 2015 at 12:48 PM, Sagi Grimberg <[email protected]> wrote:

> +++ b/drivers/infiniband/core/cma.c

> +const char *rdma_event_msg(enum rdma_cm_event_type event)
> +{
> +       size_t index = event;
> +
> +       return (index < ARRAY_SIZE(cma_events) && cma_events[index]) ?
> +                       cma_events[index] : "unrecognized event";
> +}
> +EXPORT_SYMBOL(rdma_event_msg);

I am getting the following warning from sparse,

drivers/infiniband/core/cma.c:87:12: error: symbol 'rdma_event_msg'
redeclared with different type (originally declared at
include/rdma/rdma_cm.h:65) - different modifiers

worth looking and fixing

Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to