diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2007-10-16 23:31:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:43:06 -0700 |
commit | f32143a2fedfa299d790ca96bff9b1d2e2d6996b (patch) | |
tree | 351a003cb63efe43a6e53c20483f2caeeef5737e /mm/shmem.c | |
parent | 24950898ffd161f2ea67c60f398146457bca8bf0 (diff) |
Documentation/vm/slabinfo.c: clean up this code
This patch does the following cleanups for Documentation/vm/slabinfo.c:
- Fix two memory leaks;
- 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>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions