Skip to contentSkip to conversation

2.6.12-rc4-mm2 build failure in slab.c

DISCUSSION Martin J. Bligh 2 participants 3 messages May 16, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · Martin J. Bligh

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?

Signature · 2 lines
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
#2 lore raw
Quoted 11 lines · --On Tuesday, May 17, 2005 05:15:57 +0800 Coywolf Qi Hunt <[email protected]>…
Quoted 9 lines · Martin J. Bligh

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

Quoted 1 line

What's your gcc version?

2.95.4 (probably ;-))

M.