diff options
author | Amerigo Wang <amwang@redhat.com> | 2009-09-24 00:57:05 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 16:21:01 +0200 |
commit | 0cf062d0ffa33d491e2695b0d298ccf9cbb58d3d (patch) | |
tree | f936d4c0a9ee6c15f76266d5d0b9cbdec3cafc8c /fs/binfmt_elf_fdpic.c | |
parent | signals: inline __fatal_signal_pending (diff) | |
download | linux-0cf062d0ffa33d491e2695b0d298ccf9cbb58d3d.tar.xz linux-0cf062d0ffa33d491e2695b0d298ccf9cbb58d3d.zip |
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 <amwang@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: David Howells <dhowells@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions