提交 5086c389 编写于 作者: A Amerigo Wang 提交者: Pekka Enberg

SLUB: Fix some coding style issues

Signed-off-by: NWANG Cong <amwang@redhat.com>
Signed-off-by: NPekka Enberg <penberg@cs.helsinki.fi>
上级 bbff2e43
......@@ -1109,8 +1109,7 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node)
}
if (kmemcheck_enabled
&& !(s->flags & (SLAB_NOTRACK | DEBUG_DEFAULT_FLAGS)))
{
&& !(s->flags & (SLAB_NOTRACK | DEBUG_DEFAULT_FLAGS))) {
int pages = 1 << oo_order(oo);
kmemcheck_alloc_shadow(page, oo_order(oo), flags, node);
......@@ -2001,7 +2000,7 @@ static inline int calculate_order(int size)
return order;
fraction /= 2;
}
min_objects --;
min_objects--;
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册