summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2025-09-17 09:03:24 -0700
committerJosh Poimboeuf <jpoimboe@kernel.org>2025-10-14 14:45:23 -0700
commit4ac2ba35f62d330dfb2f3148cc7405a6ce5dfa2d (patch)
treea458da5123acbe1fae7fde2589f096b0f110935e /scripts
parent2bb23cbf3f21919ba17cf63404ec0224bd8bf4fb (diff)
objtool: Remove error handling boilerplate
Up to a certain point in objtool's execution, all errors are fatal and return -1. When propagating such errors, just return -1 directly instead of trying to propagate the original return code. This helps make the code more compact and the behavior more explicit. Acked-by: Petr Mladek <pmladek@suse.com> Tested-by: Joe Lawrence <joe.lawrence@redhat.com> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions