linux-next: build failure after merge of the akpm tree

From: Stephen Rothwell
Date: Thu Nov 06 2014 - 03:36:31 EST


Hi Andrew,

After merging the akpm tree, today's linux-next build (sparc defconfig)
failed like this:

mm/slab.c: In function 'slab_alloc':
mm/slab.c:3260:4: error: implicit declaration of function 'slab_free' [-Werror=implicit-function-declaration]
slab_free(cachep, objp);
^
mm/slab.c: At top level:
mm/slab.c:3534:29: warning: conflicting types for 'slab_free'
static __always_inline void slab_free(struct kmem_cache *cachep, void *objp)
^
mm/slab.c:3534:29: error: static declaration of 'slab_free' follows non-static declaration
mm/slab.c:3260:4: note: previous implicit declaration of 'slab_free' was here
slab_free(cachep, objp);
^

I am not sure what caused this, but it is something in the akpm-current
or akpm trees (possibly interacting with something else).

I have just left this for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgpHRXPl9LIsf.pgp
Description: OpenPGP digital signature