From: WANG Cong Date: Wed, 17 Oct 2007 06:31:29 +0000 (-0700) Subject: Documentation/vm/slabinfo.c: clean up this code X-Git-Tag: v2.6.24-rc1~503 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f32143a2fedfa299d790ca96bff9b1d2e2d6996b;p=pandora-kernel.git 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 Signed-off-by: WANG Cong Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed