linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
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



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-mm-kmemleak.c-Use-u-to-print-checksum.patch --]
[-- Type: text/x-patch; name="0001-mm-kmemleak.c-Use-u-to-print-checksum.patch", Size: 0 bytes --]



                 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