From: majianpeng <majianpeng@gmail.com>
To: catalin.marinas@arm.com
Cc: linux-mm <linux-mm@kvack.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH 1/3] mm/kmemleak.c: Use %u to print ->checksum.
Date: Tue, 14 May 2013 19:49:34 +0800 [thread overview]
Message-ID: <519224CE.6030303@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
---
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
[-- Attachment #2: 0001-mm-kmemleak.c-Use-u-to-print-checksum.patch --]
[-- Type: text/x-patch, Size: 880 bytes --]
>From d87e9dee5f5c58e71fcc7f8e4e29513a7bfbbad4 Mon Sep 17 00:00:00 2001
From: Jianpeng Ma <majianpeng@gmail.com>
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@gmail.com>
---
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
reply other threads:[~2013-05-14 11:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=519224CE.6030303@gmail.com \
--to=majianpeng@gmail.com \
--cc=catalin.marinas@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox