diff options
author | Rolf Eike Beer <[email protected]> | 2022-10-19 09:52:16 +0200 |
---|---|---|
committer | Kees Cook <[email protected]> | 2022-10-25 15:19:52 -0700 |
commit | ef20c5139c3157b5c6eda46f496952bddffe9ad6 (patch) | |
tree | 5e5db511c06280e4369980f55b2fc4c92336fd56 /tools/perf/util | |
parent | cfc46ca4fdcaef6f0215f56d89162400aee402e3 (diff) |
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 <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions