Commit b103994
committed
objtool: Fix error handling inconsistencies in check()
JIRA: https://issues.redhat.com/browse/RHEL-85302
Conflicts:
tools/objtool/check.c
- cs-9 is missing upstream bd456a1 ("objtool: Separate
prefix code from stack validation code"), so no need to handle
opts.prefix case
commit b745962
Author: Josh Poimboeuf <jpoimboe@kernel.org>
Date: Fri Mar 14 12:29:00 2025 -0700
objtool: Fix error handling inconsistencies in check()
Make sure all fatal errors are funneled through the 'out' label with a
negative ret.
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Brendan Jackman <jackmanb@google.com>
Link: https://lore.kernel.org/r/0f49d6a27a080b4012e84e6df1e23097f44cc082.1741975349.git.jpoimboe@kernel.org
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>1 parent 8ea554c commit b103994
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4508 | 4508 | | |
4509 | 4509 | | |
4510 | 4510 | | |
4511 | | - | |
| 4511 | + | |
| 4512 | + | |
4512 | 4513 | | |
| 4514 | + | |
4513 | 4515 | | |
4514 | 4516 | | |
4515 | 4517 | | |
| |||
4526 | 4528 | | |
4527 | 4529 | | |
4528 | 4530 | | |
4529 | | - | |
| 4531 | + | |
4530 | 4532 | | |
4531 | 4533 | | |
4532 | 4534 | | |
| |||
4562 | 4564 | | |
4563 | 4565 | | |
4564 | 4566 | | |
4565 | | - | |
| 4567 | + | |
4566 | 4568 | | |
4567 | 4569 | | |
4568 | 4570 | | |
| |||
0 commit comments