Skip to content
Snippets Groups Projects
Commit 7ea466f2 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by Pekka Enberg
Browse files

slab: fix DEBUG_SLAB warning


In commit c225150b "slab: fix DEBUG_SLAB build",
"if ((unsigned long)objp & (ARCH_SLAB_MINALIGN-1))" is always true if
ARCH_SLAB_MINALIGN == 0. Do not print warning if ARCH_SLAB_MINALIGN == 0.

Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent b56efcf0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment