aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorShuah Khan <[email protected]>2012-08-16 00:09:46 -0700
committerPekka Enberg <[email protected]>2012-08-16 10:14:18 +0300
commit77be4b1366c97b95bb197e18187ff45b0e4f6bd3 (patch)
treec1e86b43b7aeeb6b9f0364f8274b2726432b4a46 /net/unix/af_unix.c
parentb920536aa0a4fd178b2957774adfe409027fe55b (diff)
mm/slab: restructure kmem_cache_create() debug checks
kmem_cache_create() does cache integrity checks when CONFIG_DEBUG_VM is defined. These checks interspersed with the regular code path has lead to compile time warnings when compiled without CONFIG_DEBUG_VM defined. Restructuring the code to move the integrity checks in to a new function would eliminate the current compile warning problem and also will allow for future changes to the debug only code to evolve without introducing new warnings in the regular path. This restructuring work is based on the discussion in the following thread: https://lkml.org/lkml/2012/7/13/424 [[email protected]: fix build, cleanup] Signed-off-by: Shuah Khan <[email protected]> Acked-by: Christoph Lameter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions