[openib-general] Error when loading ib_umad

Roland Dreier rdreier at cisco.com
Tue Jan 10 07:07:44 PST 2006


Are you ignoring compile warnings about class_device_create()?  Since
2.6.15 is out, the OpenIB svn does not support 2.6.14 any more, so you
may run into problems like this.

You will probably need to restore the compatibility hack removed in
r4784 by adding something like

#include <linux/version.h>

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
#define class_device_create(cls, parent, devt, device, fmt, arg...) \
       class_device_create(cls, devt, device, fmt, ## arg)
#endif

to <rdma/ib_verbs.h>.

 - R.



More information about the general mailing list