[openib-general] Re: Error when loading ib_umad

Michael S. Tsirkin mst at mellanox.co.il
Thu Jan 12 14:00:55 PST 2006


Quoting Jean-Christophe Hugly <jice at pantasys.com>:
> Subject: Re: Error when loading ib_umad
> 
> On Tue, 2006-01-10 at 07:07 -0800, Roland Dreier wrote:
> > 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>.
> 
> Thanks a bunch. Since I'm just the 3rd guy hitting that, may be a little
> addition to the backport set of patches is in order.

Yes, thats now under https://openib.org/svn/gen2/branches/backport/2.6.14

> I do not mind
> generating it, but I am not sure of the correct procedure: the patches
> are grouped by reason, but they could overlap (in that case it would)
> should they be grouped by affected file instead ? Or is there a way to
> specify in which order they should be applied ? Whoever maintains these
> BP patches might have some recommendation to make.

If you are talking about the patches under
https://openib.org/svn/gen2/branches/backport
I'm being careful to make them independent.
You'll be able to apply in whatever order (possibly with a fuzz).

-- 
MST



More information about the general mailing list