kmemleak: Simplify the kmemleak_scan_area() function prototype
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Oct 2009 13:33:09 +0000 (13:33 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Oct 2009 15:11:00 +0000 (15:11 +0000)
commitc017b4be3e84176cab10eca5e6c4faeb8cfc6f3e
treeb858895759880262dff8754ef58b3e716bebae2c
parente7cb55b946a2182c347047dc903c6ed0daef100c
kmemleak: Simplify the kmemleak_scan_area() function prototype

This function was taking non-necessary arguments which can be determined
by kmemleak. The patch also modifies the calling sites.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
include/linux/kmemleak.h
kernel/module.c
mm/kmemleak.c
mm/slab.c