mm/kmemleak.c: use %u to print ->checksum
authorJianpeng Ma <majianpeng@gmail.com>
Fri, 6 Jun 2014 21:38:16 +0000 (14:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:17 +0000 (16:08 -0700)
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kmemleak.c

index 736ade31d1dcb78e516e430746cc95a4b875317d..5d4aec44982e527b7281d15f8f65da89c57ea81d 100644 (file)
@@ -387,7 +387,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);
 }