2005-05-16 20:59:47

by Martin Bligh

[permalink] [raw]
Subject: 2.6.12-rc4-mm2 build failure in slab.c

mm/slab.c:281: field `entry' has incomplete type
mm/slab.c: In function `cache_alloc_refill':
mm/slab.c:2497: warning: control reaches end of non-void function
mm/slab.c: In function `kmem_cache_alloc':
mm/slab.c:2567: warning: `objp' might be used uninitialized in this function
mm/slab.c: In function `__kmalloc':
mm/slab.c:2567: warning: `objp' might be used uninitialized in this function
make[1]: *** [mm/slab.o] Error 1
make[1]: *** Waiting for unfinished jobs....


2005-05-16 21:20:19

by Coywolf Qi Hunt

[permalink] [raw]
Subject: Re: 2.6.12-rc4-mm2 build failure in slab.c

On 5/17/05, Martin J. Bligh <[email protected]> wrote:
> mm/slab.c:281: field `entry' has incomplete type
> mm/slab.c: In function `cache_alloc_refill':
> mm/slab.c:2497: warning: control reaches end of non-void function
> mm/slab.c: In function `kmem_cache_alloc':
> mm/slab.c:2567: warning: `objp' might be used uninitialized in this function
> mm/slab.c: In function `__kmalloc':
> mm/slab.c:2567: warning: `objp' might be used uninitialized in this function
> make[1]: *** [mm/slab.o] Error 1
> make[1]: *** Waiting for unfinished jobs....

What's your gcc version?

--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/

2005-05-16 21:25:54

by Martin Bligh

[permalink] [raw]
Subject: Re: 2.6.12-rc4-mm2 build failure in slab.c



--On Tuesday, May 17, 2005 05:15:57 +0800 Coywolf Qi Hunt <[email protected]> wrote:

> On 5/17/05, Martin J. Bligh <[email protected]> wrote:
>> mm/slab.c:281: field `entry' has incomplete type
>> mm/slab.c: In function `cache_alloc_refill':
>> mm/slab.c:2497: warning: control reaches end of non-void function
>> mm/slab.c: In function `kmem_cache_alloc':
>> mm/slab.c:2567: warning: `objp' might be used uninitialized in this function
>> mm/slab.c: In function `__kmalloc':
>> mm/slab.c:2567: warning: `objp' might be used uninitialized in this function
>> make[1]: *** [mm/slab.o] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>
> What's your gcc version?

2.95.4 (probably ;-))

M.