summaryrefslogtreecommitdiffstats
path: root/mm/kmemleak.c
diff options
context:
space:
mode:
authorJianpeng Ma <majianpeng@gmail.com>2014-06-06 23:38:16 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-07 01:08:17 +0200
commitaae0ad7ae5a997bff1862e6e5eebed39cdf08ff3 (patch)
treee8db070f45742c110fbfc28c196c80f5598ac1b2 /mm/kmemleak.c
parentvmscan: memcg: always use swappiness of the reclaimed memcg (diff)
downloadlinux-aae0ad7ae5a997bff1862e6e5eebed39cdf08ff3.tar.xz
linux-aae0ad7ae5a997bff1862e6e5eebed39cdf08ff3.zip
mm/kmemleak.c: use %u to print ->checksum
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>
Diffstat (limited to 'mm/kmemleak.c')
-rw-r--r--mm/kmemleak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index 736ade31d1dc..5d4aec44982e 100644
--- a/mm/kmemleak.c
+++ b/mm/kmemleak.c
@@ -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);
}