From: Amerigo Wang Date: Wed, 23 Sep 2009 22:57:05 +0000 (-0700) Subject: elf: clean up fill_note_info() X-Git-Tag: v2.6.32-rc1~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cf062d0ffa33d491e2695b0d298ccf9cbb58d3d;p=pandora-kernel.git elf: clean up fill_note_info() Introduce a helper function elf_note_info_init() to help fill_note_info() to do initializations, also fix the potential memory leaks. [akpm@linux-foundation.org: remove NUM_NOTES] Signed-off-by: WANG Cong Cc: Alexander Viro Cc: David Howells Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed