diff options
author | Nathan Lynch <ntl@pobox.com> | 2008-03-23 23:51:45 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-03-25 22:44:07 +0100 |
commit | f61fb8a52cdf8b9b6a6badde84aefe58cb35d315 (patch) | |
tree | b41a13d09c471b97c77d686fb600435a7906145e /fs/binfmt_elf_fdpic.c | |
parent | [POWERPC] Move a.out.h to header-y since it doesn't check __KERNEL__ (diff) | |
download | linux-f61fb8a52cdf8b9b6a6badde84aefe58cb35d315.tar.xz linux-f61fb8a52cdf8b9b6a6badde84aefe58cb35d315.zip |
[POWERPC] scanlog_init cleanup and minor fixes
scanlog_init() could use some love.
* properly return -ENODEV if this system doesn't support scan-log-dump
* don't printk if scan-log-dump not present; only older systems have it
* convert from create_proc_entry() to preferred proc_create()
* allocate zeroed data buffer
* fix potential memory leak of ent->data on failed create_proc_entry()
* simplify control flow
Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions