X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=mm%2Fslab_common.c;h=d31c4bacc6a203b0bc555bd76c2a97e90e78fa6c;hb=38c1c2e44bacb37efd68b90b3f70386a8ee370ee;hp=735e01a0db6f8c3ffa28150e5faedf362dc5b874;hpb=e64d4687730cf47bd0c59e9ed76b52ca0c0f44c0;p=cascardo%2Flinux.git diff --git a/mm/slab_common.c b/mm/slab_common.c index 735e01a0db6f..d31c4bacc6a2 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -55,7 +55,7 @@ static int kmem_cache_sanity_check(const char *name, size_t size) continue; } -#if !defined(CONFIG_SLUB) || !defined(CONFIG_SLUB_DEBUG_ON) +#if !defined(CONFIG_SLUB) if (!strcmp(s->name, name)) { pr_err("%s (%s): Cache name already exists.\n", __func__, name);