aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util
diff options
context:
space:
mode:
authorRolf Eike Beer <[email protected]>2022-10-19 09:52:16 +0200
committerKees Cook <[email protected]>2022-10-25 15:19:52 -0700
commitef20c5139c3157b5c6eda46f496952bddffe9ad6 (patch)
tree5e5db511c06280e4369980f55b2fc4c92336fd56 /tools/perf/util
parentcfc46ca4fdcaef6f0215f56d89162400aee402e3 (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