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....
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/
--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.