From: Jesper Dangaard Brouer Date: Fri, 20 Nov 2015 23:57:41 +0000 (-0800) Subject: slub: mark the dangling ifdef #else of CONFIG_SLUB_DEBUG X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b4a64718797b84b64a6ddf3d4183c29c2e79ef1d;p=linux-beck.git slub: mark the dangling ifdef #else of CONFIG_SLUB_DEBUG The #ifdef of CONFIG_SLUB_DEBUG is located very far from the associated #else. For readability mark it with a comment. Signed-off-by: Jesper Dangaard Brouer Acked-by: Christoph Lameter Cc: Pekka Enberg Cc: David Rientjes Cc: Joonsoo Kim Cc: Alexander Duyck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/slub.c b/mm/slub.c index 23f9d8d26422..a0c1365f6426 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1204,7 +1204,7 @@ unsigned long kmem_cache_flags(unsigned long object_size, return flags; } -#else +#else /* !CONFIG_SLUB_DEBUG */ static inline void setup_object_debug(struct kmem_cache *s, struct page *page, void *object) {}