From: Christoph Lameter <clameter@sgi.com>
To: WANG Cong <xiyou.wangcong@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>,
linux-mm@kvack.org
Subject: Re: [Patch]Documentation/vm/slabinfo.c: clean up this code
Date: Fri, 5 Oct 2007 12:17:41 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0710051216250.17345@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <20071005124614.GD12498@hacking>
On Fri, 5 Oct 2007, WANG Cong wrote:
>
> This patch does the following cleanups for Documentation/vm/slabinfo.c:
>
> - Fix two memory leaks;
For user space code? Memory will be released as soon as the program
terminates.
> - Constify some char pointers;
> - Use snprintf instead of sprintf in case of buffer overflow;
> - Fix some indentations;
> - Other little improvements.
Acked-by: Christoph Lameter <clameter@sgi.com>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2007-10-05 19:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-05 12:46 [Patch]Documentation/vm/slabinfo.c: clean up this code WANG Cong
2007-10-05 19:17 ` Christoph Lameter [this message]
2007-10-06 1:21 ` WANG Cong
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=Pine.LNX.4.64.0710051216250.17345@schroedinger.engr.sgi.com \
--to=clameter@sgi.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=xiyou.wangcong@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).