summaryrefslogtreecommitdiffstats
path: root/mm/slob.c
diff options
context:
space:
mode:
authorChristoph Lameter2012-09-11 21:49:38 +0200
committerPekka Enberg2012-09-19 08:58:06 +0200
commitf28510d30c7f03daa290019fbc57ad8277347614 (patch)
treeaea777471b79ab19a508155fd69e3b4d2a5cc97c /mm/slob.c
parentslub: Zero initial memory segment for kmem_cache and kmem_cache_node (diff)
downloadkernel-qcow2-linux-f28510d30c7f03daa290019fbc57ad8277347614.tar.gz
kernel-qcow2-linux-f28510d30c7f03daa290019fbc57ad8277347614.tar.xz
kernel-qcow2-linux-f28510d30c7f03daa290019fbc57ad8277347614.zip
slab: Only define slab_error for DEBUG
On Tue, 11 Sep 2012, Stephen Rothwell wrote: > After merging the final tree, today's linux-next build (sparc64 defconfig) > produced this warning: > > mm/slab.c:808:13: warning: '__slab_error' defined but not used [-Wunused-function] > > Introduced by commit 945cf2b6199b ("mm/sl[aou]b: Extract a common > function for kmem_cache_destroy"). All uses of slab_error() are now > guarded by DEBUG. There is no use case left for slab builds without DEBUG. Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions