aboutsummaryrefslogtreecommitdiffstats
path: root/mm/kmemleak.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/kmemleak.c')
-rw-r--r--mm/kmemleak.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index 2c0d032ac898..c2c9feb3097f 100644
--- a/mm/kmemleak.c
+++ b/mm/kmemleak.c
@@ -398,7 +398,9 @@ static struct kmemleak_object *lookup_object(unsigned long ptr, int alias)
398 object = prio_tree_entry(node, struct kmemleak_object, 398 object = prio_tree_entry(node, struct kmemleak_object,
399 tree_node); 399 tree_node);
400 if (!alias && object->pointer != ptr) { 400 if (!alias && object->pointer != ptr) {
401 kmemleak_warn("Found object by alias"); 401 pr_warning("Found object by alias at 0x%08lx\n", ptr);
402 dump_stack();
403 dump_object_info(object);
402 object = NULL; 404 object = NULL;
403 } 405 }
404 } else 406 } else