diff options
author | 2022-10-19 09:52:16 +0200 | |
---|---|---|
committer | 2022-10-25 15:19:52 -0700 | |
commit | ef20c5139c3157b5c6eda46f496952bddffe9ad6 (patch) | |
tree | 5e5db511c06280e4369980f55b2fc4c92336fd56 /tools/perf/scripts/python/syscall-counts.py | |
parent | binfmt_elf: fix documented return value for load_elf_phdrs() (diff) | |
download | wireguard-linux-ef20c5139c3157b5c6eda46f496952bddffe9ad6.tar.xz wireguard-linux-ef20c5139c3157b5c6eda46f496952bddffe9ad6.zip |
binfmt_elf: simplify error handling in load_elf_phdrs()
The err variable was the same like retval, but capped to <= 0. This is the
same as retval as elf_read() never returns positive values.
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/4137126.7Qn9TF0dmF@mobilepool36.emlix.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions