binfmt_elf: fix documented return value for load_elf_phdrs()
authorRolf Eike Beer <eb@emlix.com>
Wed, 19 Oct 2022 07:43:01 +0000 (09:43 +0200)
committerKees Cook <keescook@chromium.org>
Tue, 25 Oct 2022 22:19:52 +0000 (15:19 -0700)
commitcfc46ca4fdcaef6f0215f56d89162400aee402e3
tree51bf75f7de51e302a09cbfbdc66ce2ab0207d56d
parentbfb4a2b95875a47a01234f2de113ec089d524e71
binfmt_elf: fix documented return value for load_elf_phdrs()

This function has never returned anything but a plain NULL.

Fixes: 6a8d38945cf4 ("binfmt_elf: Hoist ELF program header loading to a function")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/2359389.EDbqzprbEW@mobilepool36.emlix.com
fs/binfmt_elf.c