diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-17 11:05:16 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-21 05:29:46 +0400 |
commit | 8fc3dc5a3a17aa2b353886422bd89420619af211 (patch) | |
tree | 74a3290ad9621ff1c225b772df2c529c8feb5f43 /arch | |
parent | 54bf586e1f51018ba7624c851e7aa14cee0548d2 (diff) | |
download | linux-8fc3dc5a3a17aa2b353886422bd89420619af211.tar.xz |
__register_binfmt() made void
Just don't pass NULL to it - nobody does, anyway.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/kernel/binfmt_loader.c | 3 | ||||
-rw-r--r-- | arch/x86/ia32/ia32_aout.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/alpha/kernel/binfmt_loader.c b/arch/alpha/kernel/binfmt_loader.c index 3fcfad410130..d1f474d1d44d 100644 --- a/arch/alpha/kernel/binfmt_loader.c +++ b/arch/alpha/kernel/binfmt_loader.c @@ -46,6 +46,7 @@ static struct linux_binfmt loader_format = { static int __init init_loader_binfmt(void) { - return insert_binfmt(&loader_format); + insert_binfmt(&loader_format); + return 0; } arch_initcall(init_loader_binfmt); diff --git a/arch/x86/ia32/ia32_aout.c b/arch/x86/ia32/ia32_aout.c index 39e49091f648..cdfc8dc43670 100644 --- a/arch/x86/ia32/ia32_aout.c +++ b/arch/x86/ia32/ia32_aout.c @@ -519,7 +519,8 @@ out: static int __init init_aout_binfmt(void) { - return register_binfmt(&aout_format); + register_binfmt(&aout_format); + return 0; } static void __exit exit_aout_binfmt(void) |