summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_misc.c
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2007-10-16 23:31:29 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:43:06 -0700
commitf32143a2fedfa299d790ca96bff9b1d2e2d6996b (patch)
tree351a003cb63efe43a6e53c20483f2caeeef5737e /fs/binfmt_misc.c
parent24950898ffd161f2ea67c60f398146457bca8bf0 (diff)
downloadop-kernel-dev-f32143a2fedfa299d790ca96bff9b1d2e2d6996b.zip
op-kernel-dev-f32143a2fedfa299d790ca96bff9b1d2e2d6996b.tar.gz
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 'fs/binfmt_misc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud