There is a compilation warning in the file: src/userspace/librdmacm/src/cma.c.

here is the warning:

 gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I../libibverbs/include -g -Wall 
-D_GNU_SOURCE -g -O2 -MT cma.lo -MD -MP -MF .deps/cma.Tpo -c s
rc/cma.c  -fPIC -DPIC -o .libs/cma.o
src/cma.c: In function `rdma_destroy_event_channel':
src/cma.c:259: warning: control reaches end of non-void function

and here is the problematic code:
int rdma_destroy_event_channel(struct rdma_event_channel *channel)
{
        close(channel->fd);
        free(channel);
}

(i didn't send a patch to fix this because i don't know if you want to return 0 
or change the return value of the function to void)

thanks
Dotan
_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to