linux-next: build warning after merge of the slab tree

From: Stephen Rothwell
Date: Thu Jul 12 2012 - 01:51:25 EST


Hi all,

After merging the slab tree, today's linux-next build (i386_defconfig)
produced this warning:

mm/slab_common.c: In function 'kmem_cache_create':
mm/slab_common.c:101:1: warning: label 'oops' defined but not used [-Wunused-label]

Introduced by commit 20cea9683ecc ("mm, sl[aou]b: Move kmem_cache_create
mutex handling to common code") from the slab tree. The label is only
used when CONFIG_DEBUG_VM is defined.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature