Signed-off-by: Jianpeng Ma <majianpeng@xxxxxxxxx> --- mm/kmemleak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/kmemleak.c b/mm/kmemleak.c index c8d7f31..b1525db 100644 --- a/mm/kmemleak.c +++ b/mm/kmemleak.c @@ -386,7 +386,7 @@ static void dump_object_info(struct kmemleak_object *object) pr_notice(" min_count = %d\n", object->min_count); pr_notice(" count = %d\n", object->count); pr_notice(" flags = 0x%lx\n", object->flags); - pr_notice(" checksum = %d\n", object->checksum); + pr_notice(" checksum = %u\n", object->checksum); pr_notice(" backtrace:\n"); print_stack_trace(&trace, 4); } -- 1.8.3.rc1.44.gb387c77
>From d87e9dee5f5c58e71fcc7f8e4e29513a7bfbbad4 Mon Sep 17 00:00:00 2001 From: Jianpeng Ma <majianpeng@xxxxxxxxx> Date: Mon, 13 May 2013 18:33:21 +0800 Subject: [PATCH 1/3] mm/kmemleak.c: Use %u to print ->checksum. Signed-off-by: Jianpeng Ma <majianpeng@xxxxxxxxx> --- mm/kmemleak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/kmemleak.c b/mm/kmemleak.c index c8d7f31..b1525db 100644 --- a/mm/kmemleak.c +++ b/mm/kmemleak.c @@ -386,7 +386,7 @@ static void dump_object_info(struct kmemleak_object *object) pr_notice(" min_count = %d\n", object->min_count); pr_notice(" count = %d\n", object->count); pr_notice(" flags = 0x%lx\n", object->flags); - pr_notice(" checksum = %d\n", object->checksum); + pr_notice(" checksum = %u\n", object->checksum); pr_notice(" backtrace:\n"); print_stack_trace(&trace, 4); } -- 1.8.3.rc1.44.gb387c77