Skip to content

Commit b4a6471

Browse files
netoptimizertorvalds
authored andcommitted
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 <[email protected]> Acked-by: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: David Rientjes <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: Alexander Duyck <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 8709837 commit b4a6471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/slub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ unsigned long kmem_cache_flags(unsigned long object_size,
12041204

12051205
return flags;
12061206
}
1207-
#else
1207+
#else /* !CONFIG_SLUB_DEBUG */
12081208
static inline void setup_object_debug(struct kmem_cache *s,
12091209
struct page *page, void *object) {}
12101210

0 commit comments

Comments
 (0)