projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8709837
)
slub: mark the dangling ifdef #else of CONFIG_SLUB_DEBUG
author
Jesper Dangaard Brouer
<
[email protected]
>
Fri, 20 Nov 2015 23:57:41 +0000
(15:57 -0800)
committer
Linus Torvalds
<
[email protected]
>
Sat, 21 Nov 2015 00:17:32 +0000
(16:17 -0800)
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]
>
mm/slub.c
patch
|
blob
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index 23f9d8d2642241889b61d583d1ff73541e56be95..a0c1365f64269f1ba117614180f6e34c1f081f3a 100644
(file)
--- 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) {}