Skip to content

Commit 5086c38

Browse files
Amerigo WangPekka Enberg
authored andcommitted
SLUB: Fix some coding style issues
Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
1 parent bbff2e4 commit 5086c38

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎mm/slub.c‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,8 +1109,7 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node)
11091109
}
11101110

11111111
if (kmemcheck_enabled
1112-
&& !(s->flags & (SLAB_NOTRACK | DEBUG_DEFAULT_FLAGS)))
1113-
{
1112+
&& !(s->flags & (SLAB_NOTRACK | DEBUG_DEFAULT_FLAGS))) {
11141113
int pages = 1 << oo_order(oo);
11151114

11161115
kmemcheck_alloc_shadow(page, oo_order(oo), flags, node);
@@ -2001,7 +2000,7 @@ static inline int calculate_order(int size)
20012000
return order;
20022001
fraction /= 2;
20032002
}
2004-
min_objects --;
2003+
min_objects--;
20052004
}
20062005

20072006
/*

0 commit comments

Comments
 (0)