2013-05-14 11:49:43

by majianpeng

[permalink] [raw]
Subject: [PATCH 1/3] mm/kmemleak.c: Use %u to print ->checksum.

Signed-off-by: Jianpeng Ma <[email protected]>
---
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



Attachments:
0001-mm-kmemleak.c-Use-u-to-print-checksum.patch (880.00 B)