[ewg] Re: [PATCH] IB/ehca: fix bugs to support rhel 4.5 in OFED 1.2.c-11

Stefan Roscher ossrosch at linux.vnet.ibm.com
Tue Aug 14 06:45:13 PDT 2007


> > > We do? What is the problem you are solving? Is the build broken?
> > 
> > Yes ehca in OFED-1.2.c does not compile on rhel-4.5 without these patches. 
> 
> Can you post the error message? Esp the cache patch looks like
> it can't be fixing compile errors sine you replace a struct
> by an identical typedef.
Hi Michael,

as discussed here:
http://lists.openfabrics.org/pipermail/ewg/2007-August/004183.html
The backport for kmem_cach_zalloc() was included.

In rhel-4.5 the struct kmem_cache does not exists and I'm seeing this:

typedef struct kmem_cache_s kmem_cache_t;

That means previous patch can not compile. 
Thus, I have to send a patch for this anyway. I think there is no difference to
use the struct or the typedef.

Regards Stefan







More information about the ewg mailing list